MarkLogic 12 EA 1 Product Documentation
sec.externalSecuritySetLdapMemberAttribute

sec.externalSecuritySetLdapMemberAttribute(
   external-security-name as String,
   ldap-member-attribute as String
) as null

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.

Required Privileges

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

Usage Notes

This function must be executed against the security database.

Example


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

sec.externalSecuritySetLdapMemberAttribute('ldapconfig', 'memberGroup');
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy