ChangePassword(String,String,String,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The ChangePassword() method allows a user change the password of another specified user. The user ID and password of the user making the change must be passed. Also, for the password change to succeed, the user making the change must have permission to change the target user's password.
'Declaration
Public Overloads Shared Sub ChangePassword( _
ByVal logonUserID As String, _
ByVal logonUserPassword As String, _
ByVal targetUserID As String, _
ByVal targetUserPassword As String _
)
public static void ChangePassword(
string logonUserID,
string logonUserPassword,
string targetUserID,
string targetUserPassword
)
Parameters
- logonUserID
- Required. Holds the logon ID of the user who is changing the password.
- logonUserPassword
- Required. Holds the login password for the user who is changing the password.
- targetUserID
- Required. Holds the ID of the user whose password is being changed.
- targetUserPassword
- Required. Holds the new password for the target user.