Click or drag to resize

IContentItemAssignGroup Method


Assigns this page to a specific User Group.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void AssignGroup(
	IUserGroup group,
	string comment
)

Parameters

group
Type: Ingeniux.CMSIUserGroup
User group to which to assign the page
comment
Type: SystemString
Comments for this assignment action
Remarks

If the group parameter is null, this is an unassign operation.

When a page is not in a Workflow, the comment specified will be set on the page itself into the AssignmentComment property.

Two events are fired during execution of this method: BeforePageAssign, and AfterPageAssign.

See Also