Groups.getAdministrators (Method)
Returns zero or more structures, each containing information about a group's administrators. This information includes the group or user ID, the name of the group or user, and if this administrator is a user or a group.
Returns:
Groups_GetAdministrators_Result (query)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
Name | PlainText_NonNull | The name of the user or group being administered. |
UserGroupID | UserGroupID | The user or group's ID. |
UserGroupType | UserGroupType | String identifying what the UserGroupID type is, as follows: Group and User. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
groupID | GroupID_Deletable_NonVisitorContext | Required | A group's ID. |
Context:
License Requirements | None |
Permission Requirements | Contributor |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | Customization is not supported for this method. |
Error Codes:
Code | Error Message |
---|---|
24015 | You cannot retrieve a list of a group's administrators because you are not an administrator for the group. |
Notes:
None