Users.removeAsContributor (Method)
Removes the specified user as being a contributor. Returns a pipe '|' delimited list of reasons why a user cannot be removed as a contributor or an empty string indicating that the user is no longer a contributor.
Returns:
PlainText (string)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
userID | UserID | Required | A user's ID. |
Context:
License Requirements | None |
Permission Requirements | UserAdminOrContributorManager |
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 |
---|---|
66047 | Users that own scheduled jobs ($1) may not be deleted. The scheduled jobs must be removed or updated by another user to allow continued operation. |
Notes:
None