Düzenle

Aracılığıyla paylaş


Users Collection (ADOX)

Contains all stored User objects of a catalog or group.

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.

The Append method for a Users collection is unique for ADOX. You can:

  • Add a new user to the collection by using the Append method.

The remaining properties and methods are standard to ADO collections. You can:

  • Access a user in the collection with the Item property.

  • Return the number of users contained in the collection with the Count property.

  • Remove a user from the collection with the Delete method.

  • Update the objects in the collection to reflect the current database's schema with the Refresh method.

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.

This section contains the following topic.

See Also

GetPermissions and SetPermissions Methods Example (VB)
Catalog Object (ADOX)
User Object (ADOX)