ChangePassword Method (ClientSession)
- Last UpdatedNov 06, 2025
- 1 minute read
The ChangePassword() method opens the Change Password dialog to allow the user to change their password. If the user does not cancel the dialog, the user's password is changed to the new password.
'Declaration
Public Function ChangePassword( _
ByVal userId As String, _
ByVal forceChange As Boolean _
) As Boolean
public bool ChangePassword(
string userId,
bool forceChange
)
Parameters
- userId
- Required. Holds the ID of the user whose password is being changed.
- forceChange
Required. Holds a flag that, if set to true, forces the user to change their password the next time they log on.
Return Value
Returns true if the password was changed successfully.