IAnalysisServiceLogin Method |
Login user.
Namespace: AnalysisServiceAssembly: AnalysisService (in AnalysisService.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax WebLoginResponse Login(
string userName,
string password,
string applicationIdentifier,
bool isActivationRequired
)
Function Login (
userName As String,
password As String,
applicationIdentifier As String,
isActivationRequired As Boolean
) As WebLoginResponse
WebLoginResponse^ Login(
String^ userName,
String^ password,
String^ applicationIdentifier,
bool isActivationRequired
)
abstract Login :
userName : string *
password : string *
applicationIdentifier : string *
isActivationRequired : bool -> WebLoginResponse
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