Users.deleteAdministrator (Method)
Deletes a user or group from being a user's administrator.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
userID | UserID | Required | The user who will no longer be administered by a user or a group. |
contributorIDGroupID | UserGroupID_ExcludingAnonAuth | Required | A contributor (user) or group's ID. |
Context:
License Requirements | None |
Permission Requirements | User: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 |
---|---|
66023 | |
66024 | One or more of the specified users or groups is not an administrator. |
Notes:
None