This function determines whether the user enabled external authentication modules.
uapi --output=jsonpretty \ --user=username \ ExternalAuthentication \ has_external_auth_modules_configured
{- "apiversion": 3,
- "func": "has_external_auth_modules_configured",
- "module": "ExternalAuthentication",
- "result": {
- "data": 1,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}