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
Parameters
- name
- Type: SystemString
Name of the new Group to create
Return Value
Type: IUserGroupThe User Group that was created.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | When "name" is null or empty. |
SecurityException | When 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