IUserDataSourceLogin Method |
Login user.
Namespace: ArtDatabanken.Data.DataSourceAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax IUserContext Login(
string userName,
string password,
string applicationIdentifier,
bool isActivationRequired
)
Function Login (
userName As String,
password As String,
applicationIdentifier As String,
isActivationRequired As Boolean
) As IUserContext
IUserContext^ Login(
String^ userName,
String^ password,
String^ applicationIdentifier,
bool isActivationRequired
)
abstract Login :
userName : string *
password : string *
applicationIdentifier : string *
isActivationRequired : bool -> IUserContext
Parameters
- userName
- Type: SystemString
User name. - password
- Type: SystemString
Password. - applicationIdentifier
- Type: SystemString
Application identifier.
User authorities for this application is included in
the user context.
- isActivationRequired
- Type: SystemBoolean
Flag that indicates if user must be activated
for login to succed.
Return Value
Type:
IUserContextUser context or null if login failed.
See Also