ChangePassword Method (ADOX)
Changes the password for a user account.
Syntax
User.ChangePassword OldPassword, NewPassword
Parameters
OldPassword
A String value that specifies the user's existing password. If the user doesn't currently have a password, use an empty string ("") for OldPassword.
NewPassword
A String value that specifies the new password.
Remarks
For security reasons, the old password must be specified in addition to the new password.
An error will occur if the provider does not support the administration of trustee properties.
Applies To
See Also
Groups and Users Append, ChangePassword Methods Example (VB)
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro