SetPassword |
Scroll |
Immediately changes the password of the user.
Namespace: Therefore.API
Visual Basic Public Overridable Function SetPassword ( _ pServer As ITheServer, _ strOldPassword As String, _ strNewPassword As String _ ) C# public virtual void SetPassword ( ITheServer pServer, string strOldPassword, string strNewPassword )
Parameters pServer A valid and connected TheServer object.
strOldPassword The user's current password.
strNewPassword The user's new password.
Return ValueNone. |
|
|
Requires Connection You must be connected to the Thereforeā¢ Server when calling this method.
The user must be a Thereforeā¢ internal user.
The user executing this method has to have the permission to change the password. Any user can execute this method for his own user account but it can also be executed by an administrator.
The UserType property of the current user must have the value SingleUser |