Append Method (ADOX Groups)

Microsoft ActiveX Data Objects (ADO)

Append Method (Groups)

       

Adds a new Group object to the Groups collection.

Syntax

Groups.Append Group

Parameters

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.