Compartilhar via


Login.ChangePassword Method

Definition

Overloads

ChangePassword(String, Boolean, Boolean)

Changes the password. The unlock parameter indictates if the account needs to be unlocked. The mustChange parameter indicates whether the user has to change the password on the next Login.

ChangePassword(SecureString, Boolean, Boolean)

Changes the password using SecureString. The unlock parameter indictates if the account needs to be unlocked. The mustChange parameter indicates whether the user has to change the password on the next Login.

ChangePassword(String, String)

Changes login password, effective immediate on the server.

ChangePassword(SecureString, SecureString)

Changes login password using SecureString, effective immediate on the server.

ChangePassword(String)

Changes login password, effective immediate on the server.

ChangePassword(SecureString)

Changes login password using SecureString, effective immediate on the server.

ChangePassword(String, Boolean, Boolean)

Changes the password. The unlock parameter indictates if the account needs to be unlocked. The mustChange parameter indicates whether the user has to change the password on the next Login.

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

Parameters

newPassword
String
unlock
Boolean
mustChange
Boolean

Applies to

ChangePassword(SecureString, Boolean, Boolean)

Changes the password using SecureString. The unlock parameter indictates if the account needs to be unlocked. The mustChange parameter indicates whether the user has to change the password on the next Login.

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

Parameters

newPassword
SecureString
unlock
Boolean
mustChange
Boolean

Applies to

ChangePassword(String, String)

Changes login password, effective immediate on the server.

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
newPassword
String

Applies to

ChangePassword(SecureString, SecureString)

Changes login password using SecureString, effective immediate on the server.

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
newPassword
SecureString

Applies to

ChangePassword(String)

Changes login password, effective immediate on the server.

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

Parameters

newPassword
String

Applies to

ChangePassword(SecureString)

Changes login password using SecureString, effective immediate on the server.

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

Parameters

newPassword
SecureString

Applies to