MarkLogic 10 Product Documentation
sec:external-security-set-ldap-memberof-attribute

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

Summary

This function sets the memberof LDAP attribute for group lookup.

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

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-ldap-member-attribute

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-memberof-attribute("ldapConfig", "isMemberOf") 
  
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy