sec.externalSecurityGetOauthUsernameAttribute( external-security-name as String ) as String
This function returns the OAuth username attribute for the named external security configuration.
Parameters | |
---|---|
external-security-name | The name of the external security configuration. |
http://marklogic.com/xdmp/privileges/external-security-get-oauth-username-attribute
This function must be executed against the security database.
const sec = require('MarkLogic/security); sec.externalSecurityGetOauthUsernameAttribute('oauthconfig');