Partilhar via


User.ChangePassword Method

Definition

Overloads

ChangePassword(SecureString)

Allows the administrator to change any user password.

ChangePassword(String)

Allows the administrator to change any user password.

ChangePassword(SecureString, SecureString)

Allows the user to change password by providing the old user password.

ChangePassword(String, String)

Allows the user to change password by providing the old user password.

ChangePassword(SecureString)

Allows the administrator to change any user password.

public void ChangePassword (System.Security.SecureString newPassword);
member this.ChangePassword : System.Security.SecureString -> unit
Public Sub ChangePassword (newPassword As SecureString)

Parameters

newPassword
SecureString

The new user password.

Applies to

ChangePassword(String)

Allows the administrator to change any user password.

public void ChangePassword (string newPassword);
member this.ChangePassword : string -> unit
Public Sub ChangePassword (newPassword As String)

Parameters

newPassword
String

The new user password.

Applies to

ChangePassword(SecureString, SecureString)

Allows the user to change password by providing the old user password.

public void ChangePassword (System.Security.SecureString oldPassword, System.Security.SecureString newPassword);
member this.ChangePassword : System.Security.SecureString * System.Security.SecureString -> unit
Public Sub ChangePassword (oldPassword As SecureString, newPassword As SecureString)

Parameters

oldPassword
SecureString

The old user password.

newPassword
SecureString

The new user password.

Applies to

ChangePassword(String, String)

Allows the user to change password by providing the old user password.

public void ChangePassword (string oldPassword, string newPassword);
member this.ChangePassword : string * string -> unit
Public Sub ChangePassword (oldPassword As String, newPassword As String)

Parameters

oldPassword
String

The old user password.

newPassword
String

The new user password.

Applies to