Ilumnis Authentication

User.Authenticate Method (String, String)

Loads authenticated user.

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

Parameters

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
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