Logs an existing user into the system by UserID if an iMIS user and sets the current AppPrincipal to the logged-in user.
Namespace: Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public static CStaffUser LoginByUserId( string userId ) |
| Visual Basic |
|---|
Public Shared Function LoginByUserId ( _ userId As String _ ) As CStaffUser |
| Visual C++ |
|---|
public: static CStaffUser^ LoginByUserId( String^ userId ) |
Parameters
- userId
- Type: System..::..String
The iMIS staff user's UserID/LoginID