Group object methods

The following list summarizes the Group object methods:

Note: For all Perl Get and Set methods that map to Visual Basic Properties, see the Properties section of this object.
Method name
Description
AddGroup
Adds a subgroup to this group.
AddUser
Adds a user to this group.
GetMasterReplicaName
Perl only. Returns the name of the replica that masters the group.
IsSubscribedToAllDatabases
Checks whether this Group is subscribed to all databases in a schema repository (master database).
RemoveGroup
Removes a subgroup from this group.
RemoveUser
Removes a user from this group.
SetMasterReplicaByName
Perl only. Sets the replica that masters the group record.
SetSubscribedToAllDatabases
Subscribes the group to all databases.
SiteHasMastership
Tests whether this group is mastered in the session database.
SubscribeDatabase
Subscribes this group to the specified database.
UnsubscribeAllDatabases
Unsubscribes the group from all databases.
UnsubscribeDatabase
Unsubscribes the group from the specified database.

Additional Perl Get and Set Methods that map to Visual Basic properties:

Method name
Description
GetActive
Indicates whether or not the group is active.
GetGroups
Returns the collection of direct subgroups belonging to this group.
GetName
Returns the name of the group.
GetSubscribedDatabases
Returns the collection of databases to which this group is subscribed.
GetUsers
Returns the collection of users belonging to this group.
SetActive
Specifies whether or not the group is active.
SetName
Sets the name of the group.