'Declaration
Public Sub ChangePassword( _ ByVal oldPassword As String, _ ByVal newPassword As String, _ ByVal passwordExpirationDate As Nullable(Of Date) _ )
public void ChangePassword( string oldPassword, string newPassword, Nullable<DateTime> passwordExpirationDate )
public: void ChangePassword( String^ oldPassword, String^ newPassword, Nullable<DateTime> passwordExpirationDate )
Parameters
- oldPassword
- The current password for the profile. See Remarks.
- newPassword
- The new password.
- passwordExpirationDate
- The expiration date for the password, if expiration tracking is being used.