A Groups collection contains all stored CdbGroup objects of a CdbWorkspace or user account (Microsoft Jet workspaces only).
Remarks
You can append an existing CdbGroup object to the Groups collection in a CdbUser object to establish membership of a user account in that CdbGroup object. Alternatively, you can append a CdbUser object to the Users collection in a CdbGroup object to give a user account the global permissions of that group. In either case, the existing CdbGroup object must already be a member of the Groups collection of the current CdbWorkspace object. 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.
To refer to a CdbGroup object in a collection by its ordinal number or by its Name property setting, use either of the following syntax forms:
Groups[0]
Groups["name"]