Saves the settings of the current user to a file.
public fun saveUser(index: Int, path: String?)
Use this method to save the settings of the selected user to the file specified by Path.