Click or drag to resize
IAnalysisServiceLogin Method
Login user.

Namespace: AnalysisService
Assembly: AnalysisService (in AnalysisService.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
WebLoginResponse Login(
	string userName,
	string password,
	string applicationIdentifier,
	bool isActivationRequired
)

Parameters

userName
Type: SystemString
User name.
password
Type: SystemString
Password for logged in user.
applicationIdentifier
Type: SystemString
Identifier of the application that the user uses.
isActivationRequired
Type: SystemBoolean
Flag that indicates that the user account must be activated before login can succeed.

Return Value

Type: WebLoginResponse
Token and user roles for the specified application or null if the login failed.
See Also