ChangePassword method (ADOX)
Applies to: Access 2013, Office 2013
Changes the password for a user account.
Syntax
User.ChangePasswordOldPassword, NewPassword
Parameters
Parameter | Description |
---|---|
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.