sec.externalSecuritySetLdapMemberofAttribute( external-security-name as String, ldap-memberof-attribute as String ) as null
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. |
http://marklogic.com/xdmp/privileges/external-security-ldap-member-attribute
This function must be executed against the security database.
declareUpdate(); const sec = require('/MarkLogic/security'); sec.externalSecuritySetLdapMemberofAttribute("ldapConfig", "isMemberOf");
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.