編輯

共用方式為


Append method (ADOX Groups)

Applies to: Access 2013, Office 2013

Adds a new Group object to the Groups collection.

Syntax

Groups.AppendGroup

Parameters

Parameter Description
Group The Group object to append or the name of the group to create and append.

Remarks

The Groups collection of a Catalog represents all of the catalog's group accounts. The Groups collection for a User represents only the group to which the user belongs.

An error will occur if the provider does not support creating groups.

Note

Before appending a Group object to the Groups collection of a User object, a Group object with the same Name as the one to be appended must already exist in the Groups collection of the Catalog.