Click or drag to resize

IUserManagerAddUserGroup Method


Creates a new User Group.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IUserGroup AddUserGroup(
	string name
)

Parameters

name
Type: SystemString
Name of the new Group to create

Return Value

Type: IUserGroup
The User Group that was created.
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen "name" is null or empty.
SecurityExceptionWhen the Operating User doesn't have administrative privileges.
Remarks

The new User Group that was created was not yet saved to the Content Store. It will be saved when the Write Session is disposed.

The new User Group doesn't have any member Users associated with it.

The event UserGroupCreated is fired after the new UserGroup is created in Session.

See Also