Users.addAdministrators (Method)
Adds users and groups as administrators for a user.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
userID | UserID | Required | The user ID of the user who will be administered by another user or group. |
contributorIDGroupIDList | UserGroupID_ExcludingAnonAuthList | Required | A comma-delimited list of user and group IDs. |
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 |
---|---|
66025 | |
66026 | One or more of the specified users or groups is already an administrator. |
66029 | A user cannot administrator itself. |
66038 | One or more of the specified users are not contributors. Only contributors can administrator of a user. |
Notes:
None