Attempts to log in the specified user.

public bool Login(string UserName,
	string Password);

Return Value

True if the log in was successful. The reasons it may fail are:

  • The user name does not exist in the list of authorized users.

  • The password is not the correct one for the user.

  • Someone else has logged in with this user name.

  • The number of concurrent licenses has been exceeded.

The ErrorMessage property contains the text of the reason for failure.


The name of the user to log in as (case-insensitive).

The password for the user (case-insensitive).

See also:

Class Users

© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic