Loading TOC...

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.

Example


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

sec.externalSecuritySetLdapMemberAttribute('ldapconfig', 'memberGroup');
   

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