MarkLogic 9 Product Documentation
sec:external-security-set-ldap-member-attribute

sec:external-security-set-ldap-member-attribute(
   $external-security-name as xs:string,
   $ldap-member-attribute as xs:string
) as empty-sequence()

Summary

This function sets the member LDAP attribute for group lookup.

Parameters
external-security-name The name of external authentication configuration.
ldap-member-attribute LDAP attribute for the groups of a user.

Example



xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";
 
sec:external-security-set-ldap-member-attribute("ldapConfig", "memberGroup") 
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy