Logs an existing user into the system by ContactId or UserID if an iMIS user

Namespace: Asi.iBO
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public static CStaffUser Login(
	string userId,
	string clearPassword
)
Visual Basic
Public Shared Function Login ( _
	userId As String, _
	clearPassword As String _
) As CStaffUser
Visual C++
public:
static CStaffUser^ Login(
	String^ userId, 
	String^ clearPassword
)

Parameters

userId
Type: System..::..String
The iMIS staff user's UserID/LoginID
clearPassword
Type: System..::..String
The password to log into this account, unencrypted

Return Value

The appropriate object representing the logged in staff user.

See Also