ws1-client-sdk/com.airwatch.sdk/SDKManager/authenticateUser
authenticateUser¶
open fun authenticateUser(userName: String, userPassword: String): Boolean
Verifies authentication credentials with the console. The device must have access to the console. This type of authentication is analogous to enrollment user credentials.
Access Level = AW_MANAGED (for details on access permission please check SDKManager)
Parameters¶
| Name | Description |
|---|---|
| userName | It may be a basic user or it may be an AD user. |
| userPassword | The password for the user account. |
Return¶
true on successful authentication. false if authentication failed
Throws¶
| Exception | Condition |
|---|---|
| com.airwatch.sdk.AirWatchSDKException | if API is not available in Anchor Application or binding with Anchor app fails |