IAppContextAuthenticateUser Method (String, String, String, Int32) |
Authenticates the current user and populates/creates the
UserContext object
using the specified
IAuthenticationProvider.
Note that if the application is being used to authenticate a different user than the one associated
with the application (and therefore the user represented by
UserContext) you
must use the
AuthenticateUser command.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void AuthenticateUser(
string providerTypeName,
string user,
string password,
int authenticateFlags
)
Sub AuthenticateUser (
providerTypeName As String,
user As String,
password As String,
authenticateFlags As Integer
)
Parameters
- providerTypeName
- Type: SystemString
The type name of the Authentication Provider to use. - user
- Type: SystemString
The user ID - password
- Type: SystemString
The password, as plain text. - authenticateFlags
- Type: SystemInt32
Flags sent to Authenticate(String, String, NameValueCollection, Int64), from (AuthenticationFlags).
See Also