Groups.deleteAdministrators (Method)

Removes one or more users and groups from being administrators for a group.

Returns:

MultipleOperationResult (struct)

Each row of the returned query results has the following fields:

Field Name Type Description
otherError NonNegativeInteger The number of items whose operation failed for non-security reasons.
securityError NonNegativeInteger The number of items whose operation failed because of security restrictions.
success NonNegativeInteger The number of items where the operation was successful.

Arguments:

Name Type Required Description
groupID GroupID_Deletable_NonVisitorContext Required A group's ID.
contributorIDGroupIDList UserGroupIDorOrphanList Required A comma-delimited list containing contributor (user) and group IDs.

Context:

License Requirements None
Permission Requirements customer:ManageGroups
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
24016 You cannot delete a group's administrator because you are not an administrator for the group.
24017 One or more of the specified users and groups is not an administrator.

Notes:

None