sec:external-security-get-oauth-username-attribute( $external-security-name as xs:string ) as xs: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.
xquery version "1.0-ml"; import module namespace sec = "http://marklogic.com/xdmp/security" at "/MarkLogic/security.xqy"; sec:external-security-get-oauth-username-attribute("oauthconfig");