Permanently removes a User.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
Parameters
- user
- Type: Ingeniux.CMSIUser
The User to remove
Return Value
Type: BooleanTrue if the User still exists in Content Store, false otherwise.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | When the "user" is the Current Operating User. |
SecurityException | When the Operating User doesn't have administrative privileges. |
Remarks
If the "user" parameter value is null, returns false.
The method also removes this User from all Groups it belonged to.
This method fires two events: BeforeUserDelete and AfterUserDelete.
See Also