Append method (ADOX Users)

Applies to: Access 2013, Office 2013

Adds a new User object to the Users collection.

Syntax

Users.AppendUser[,Password]

Parameters

Parameter Description
User A Variant value that contains the User object to append or the name of the user to create and append.
Password Optional. A String value that contains the password for the user. The Password parameter corresponds to the value specified by the ChangePassword method of a User object.

Remarks

The Users collection of a Catalog represents all the catalog's users. The Users collection for a Group represents only the users that have a membership in the specific group.

An error will occur if the provider does not support creating users.

Note

Before appending a User object to the Users collection of a Group object, a User object with the same Name as the one to be appended must already exist in the Users collection of the Catalog.