>

Groups Collection

Description

A Groups collection contains all stored Group objects of a Workspace or user account.

Remarks

You can append an existing Group object to the Groups collection in a User object or a Workspace object to establish membership of a user account in that Group object. Alternatively, you can append a User object to the Users collection in a Group object to give a user account the global permissions of that group. If you use a Groups or Users collection other than the one to which you just appended an object, you may need to use the Refresh method to refresh the collection with current information from the database.

You can refer to a Group object that you create and append to a Groups collection by its Name property setting using this syntax:

Groups("name")

To create a new Group object, use the CreateGroup method.

Properties

Count Property.

Methods

Append Method, Delete Method, Refresh Method.

See Also

Appendix, "Data Access Object Hierarchy."

Specifics (Microsoft Access)

See the Group object specifics (Microsoft Access).

Example

See the Group object example.

Example (Microsoft Access)

See the Group object example (Microsoft Access).