ISecurity.Login

Attempts to log in the specified user.

public LoginResult Login(string userName,
	string password);

Return Value

A value of LoginResult indicating whether it succeeded and if not, why not.

Parameters

userName
The user name to log in as (case-insensitive).
password
The password for the user.

Remarks

If successful, CurrentUser is set to a reference to the user and raises the UserLoggedIn event.

See also:

Interface ISecurity