Groups.addAdministrators (Method)

Adds users and groups as administrators for a group.

Returns:

Void

Arguments:

Name Type Required Description
groupID GroupID_Deletable_NonVisitorContext Required A group's ID.
contributorIDGroupIDList UserGroupID_ExcludingAnonAuthList Required A comma-delimited list of user and group IDs.

Context:

License Requirements None
Permission Requirements Group:Admin
Deny Context None
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the customer level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
24018 You cannot add members to a group because you are not an administrator for the group.
24019 One or more of the specified users and groups is already an administrator.
24022 A group cannot be added as an administrator to itself.
24024 One or more of specified users are not contributors. Only contributors can be administrators for a group.

Notes:

None