Logs an existing CContact user into the system using their user Id only.

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

Syntax

C#
public static CContactUser LoginByWebLogin(
	string webLogin,
	bool setAppPrincipal
)
Visual Basic
Public Shared Function LoginByWebLogin ( _
	webLogin As String, _
	setAppPrincipal As Boolean _
) As CContactUser
Visual C++
public:
static CContactUser^ LoginByWebLogin(
	String^ webLogin, 
	bool setAppPrincipal
)

Parameters

webLogin
Type: System..::..String
The web login of the CContact to be logged in.
setAppPrincipal
Type: System..::..Boolean
Whether the current app principal should be set to the logged-in user or not.

Return Value

The logged in CContactUser.

See Also