Candor.Security.UserManager.UpdateUser C# (CSharp) Method

UpdateUser() public static method

updates a user's name and/or password.
public static UpdateUser ( User item, String currentPassword, String ipAddress, ExecutionResults result ) : bool
item User The user details to be saved. If Password is empty is it not changed. If specified it should be the new raw password (not a hash).
currentPassword String The current raw password for the user used to authenticate that the change can be made.
ipAddress String The internet address where the user is connecting from.
result ExecutionResults A ExecutionResults instance to add applicable /// warning and error messages to.
return bool
        public static bool UpdateUser(User item, String currentPassword, String ipAddress, ExecutionResults result)
        {
            return Provider.UpdateUser(item, currentPassword, ipAddress, result);
        }