Loading TOC...

sec:external-security-set-ldap-nested-lookup

sec:external-security-set-ldap-nested-lookup(
   $external-security-name as xs:string,
   $ldap-nested-lookup as xs:boolean
) as empty-sequence()

Summary

This function sets the nested-lookup boolean. This boolean tells the LDAP server to do nested group lookup or not. Default value is true.

Parameters
external-security-name The name of external authentication configuration.
ldap-nested-lookup Specifies whether the ldap server will do nested group lookup or not.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-ldap-nested-lookup

Usage Notes

This function must be executed against the security database.

Example



xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";

sec:external-security-set-ldap-nested-lookup("ldapConfig", fn:false()) 
  
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.