
sec:external-security-set-ldap-remove-domain( $external-security-name as xs:string, [$ldap-remove-domain as xs:boolean?] ) as empty-sequence()
This function updates the ldap-remove-domain
setting in the external security configuration.
| Parameters | |
|---|---|
| external-security-name | The name of an external-security configuration. |
| ldap-remove-domain | If set to true, the domain is removed from username before matching with ldap-attribute. |
http://marklogic.com/xdmp/privileges/external-security-set-ldap-remove-domainThis 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-set-ldap-remove-domain("My-External-Security", fn:true())
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.