Ilumnis Authentication

User.Authenticate Method (String, String, String)

Loads authenticated user.

public static User Authenticate(
   string domainName,
   string userName,
   string password
);

Parameters

domainName
Domain name of the user to load.
userName
Name of the user to load.
password
Password for the user specified with userName.

Return Value

New user object containing authenticated user.

Exceptions

Exception Type Condition
InvalidDomainNameException Thrown if invalid domainName is passed.
InvalidUserNameException Thrown when invalid userName is passed.
InvalidPasswordException Thrown when invalid password is passed.
InvalidUserCredentialsException Thrown when userName / password pair is invalid.

See Also

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