Users.deleteAdministrators (Method)
Deletes one or more of users or groups from being an administrator for a user.
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 |
---|---|---|---|
userID | UserID | Required | A user's ID. |
contributorIDGroupIDList | UserGroupID_ExcludingAnonAuthList | Required | A comma-delimited list of user and group IDs. |
Context:
License Requirements | None |
Permission Requirements | customer:ManageUsers |
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 |
---|---|
66023 | |
66024 | One or more of the specified users or groups is not an administrator. |
Notes:
None