Password Property (DAO)

Microsoft DAO 3.60

Password Property

           

Sets the password for a user account (Microsoft Jet workspaces only).

Note  Use strong passwords that combine upper- and lowercase letters, numbers, and symbols. Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak password: House27. Use a strong password that you can remember so that you don't have to write it down.

Settings

The setting is a String that can be up to 14 characters long and can include any characters except the ASCII character 0 (null). This property setting is write-only for new objects not yet appended to a collection, and is not available for existing objects.

Remarks

Set the Password property along with the PID property when you create a new User object.

Use the NewPassword method to change the Password property setting for an existing User object. To clear a password, set the newpassword argument of the NewPassword method to a zero-length string ("").

Passwords are case-sensitive.

Note If you don't have access permission, you can't change the password of any other user.