Loading TOC...

MarkLogic 12 EA 1 Product Documentation
sec.externalSecuritySetLdapNestedLookup

sec.externalSecuritySetLdapNestedLookup(
   external-security-name as String,
   ldap-nested-lookup as Boolean
) as null

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


declareUpdate();
const sec = require('/MarkLogic/security');

sec.externalSecuritySetLdapNestedLookup('ldapConfig', false); 
   

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