sec.externalSecuritySetLdapMemberofAttribute

sec.externalSecuritySetLdapMemberofAttribute(
   external-security-name as String,
   ldap-memberof-attribute as String
) as null

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.

Example


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

sec.externalSecuritySetLdapMemberofAttribute("ldapConfig", "isMemberOf");
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy