Muokkaa

Jaa


Append Method (ADOX 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.

Applies To

Users Collection (ADOX)

See Also

Groups and Users Append, ChangePassword Methods Example (VB)
Append Method (ADOX Columns)
Append Method (ADOX Groups)
Append Method (ADOX Indexes)
Append Method (ADOX Keys)
Append Method (ADOX Procedures)
Append Method (ADOX Tables)
Append Method (ADOX Views)