Ilumnis Authentication

User.New Method (Int32, String, String)

Creates new user.

public static User New(
   int userId,
   string domainName,
   string userName
);

Parameters

userId
UserId for the new user.
domainName
Domain name for the new user.
userName
Name for the new user.

Return Value

New user object.

Exceptions

Exception Type Condition
InvalidDomainNameException Thrown if invalid domainName is passed.
InvalidUserIdentifierException Thrown if invalid userId is passed.
InvalidUserNameException Thrown if invalid userName is passed.

See Also

User Class | IExSys.Authentication Namespace | User.New Overload List