IUserManagerRemoveUserGroup Method |
Namespace: Ingeniux.CMS
Exception | Condition |
---|---|
InvalidOperationException | When the "userGroup" is the Administrators Group, which cannot be removed |
SecurityException | When the Operating User doesn't have administrative privileges. |
If the "userGroup" parameter value is null, returns false.
The Administrators Group cannot be removed.
This method fires two events: BeforeUserGroupDelete and AfterUserGroupDelete.