Append Method (ADOX Users)

Microsoft ActiveX Data Objects (ADO)

ADOX 2.5 API Reference

Append Method (Users)

Adds a new User object to the Users collection.

Syntax

Users.Append User[, Password]

Parameters

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.

See Also

Groups and Users Append, ChangePassword Methods Example (VB)

Append Method (Columns) | Append Method (Groups) | Append Method (Indexes) | Append Method (Keys) | Append Method (Procedures) | Append Method (Tables) | Append Method (Views)

Applies To: Users Collection

© 1998-2003 Microsoft Corporation. All rights reserved.