Logs an existing user into the system by UserID if an iMIS user
Namespace: Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| Visual Basic |
|---|
Public Shared Function LoginByUserId ( _
userId As String, _
setAppPrincipal As Boolean _
) As CStaffUser |
Parameters
- userId
- Type: System..::..String
The iMIS staff user's UserID/LoginID
- setAppPrincipal
- Type: System..::..Boolean
Whether the current app principal should be set to the logged-in user or not.
Return Value
The appropriate object representing the logged in staff user.
See Also