UserDataSourceLogin Method |
Login user.
Namespace: ArtDatabanken.WebService.Client.UserServiceAssembly: ArtDatabanken.WebService.Client (in ArtDatabanken.WebService.Client.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public IUserContext Login(
string userName,
string password,
string applicationIdentifier,
bool isActivationRequired
)
Public Function Login (
userName As String,
password As String,
applicationIdentifier As String,
isActivationRequired As Boolean
) As IUserContext
public:
virtual IUserContext^ Login(
String^ userName,
String^ password,
String^ applicationIdentifier,
bool isActivationRequired
) sealed
abstract Login :
userName : string *
password : string *
applicationIdentifier : string *
isActivationRequired : bool -> IUserContext
override 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.
Implements
IUserDataSourceLogin(String, String, String, Boolean)See Also