IUserManagerAddUser Method |
Namespace: Ingeniux.CMS
Exception | Condition |
---|---|
ArgumentNullException | When "userId" is null or empty. |
ArgumentException | When another User with the same User Id already exists. |
SecurityException | When the Operating User doesn't have administrative privileges. |
The new User that was created was not yet saved to the Content Store. It will be saved when the Write Session is disposed.
The new User cannot yet login to the CMS until it is added to at least one Group.
If "name" parameter value is null or empty, the "userId" parameter value will be used for the User Name.
The event UserCreated is fired after the new User is created in Session.