SetUserPassword |
Scroll |
Changes the password of the specified user.
Namespace: Therefore.API
Visual Basic Public Overridable Function SetUserPassword ( _ strUser As String, _ strOldPassword As String, _ strNewPassword As String _ ) C# public virtual void SetUserPassword ( string strUser, string strOldPassword, string strNewPassword )
Parameters strUser The name of the user.
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 must not be a group.
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. |