Xbasic
a5_getTwoFactorAuthenticationSettings Function
Syntax
c result = a5_getTwoFactorAuthenticationSettings(c userid)
Arguments
- useridCharacter
The user's user id
Returns
- resultCharacter
A JSON string showing user's settings. (Use json_parse() to convert the string to an Xbasic dot variable)
An example of what the returned result might be:
{ "requireTwoFactorAuthentication": true, "method": "Google Authenticator", "mobilePhone": "", "email": "" }
Description
Returns the two-factor authentication options.
See Also