Authenticate User for specific SiteManager instance, if successful, set CurrentUserState on SiteManager, and create ILicenseManager instance and set on the SiteManager's LicenseManager property. License and seating are checked in the same time.

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
bool Authenticate(
	string userName,
	string Password,
	ISiteManager siteManager,
	out IUserState currentUserState
)
Visual Basic
Function Authenticate ( _
	userName As String, _
	Password As String, _
	siteManager As ISiteManager, _
	<OutAttribute> ByRef currentUserState As IUserState _
) As Boolean
Visual C++
bool Authenticate(
	String^ userName, 
	String^ Password, 
	ISiteManager^ siteManager, 
	[OutAttribute] IUserState^% currentUserState
)

Parameters

userName
Type: System..::..String
Login name of the user
Password
Type: System..::..String
Password of the user
siteManager
Type: Cartella.Interfaces..::..ISiteManager
SiteManager instance for perform the authentication for
currentUserState
Type: Cartella.Interfaces..::..IUserState%
Output the created UserState

Field Value

Boolean

Return Value

True if successful

See Also