IUserManagerAddUserGroup Method Ingeniux CMS Content Store API

Creates a new User Group.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
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

Reference