IContentItemAssignUser Method |
Namespace: Ingeniux.CMS
If the user parameter is null, this is an unassign operation.
If the page currently assigned to a Group, the new user must be a member of this group. Only administrators are allowed to assign this page to a user that is not a member of the Assigned Group.
When the page is not in a Workflow, the comment specified will be set on the page itself in the AssignmentComment property.
When the page is in a workflow, the specified user must be a member of the CurrentGroup of the workflow. Otherwise, an error will be thrown.
Two events are fired during execution of this method: BeforePageAssign, and AfterPageAssign.