Loading TOC...

MarkLogic Server 11.0 Product Documentation
sec:role-get-external-names

sec:role-get-external-names(
   $role-name as xs:string
) as xs:string*

Summary

This function returns the external LDAP group names assigned to the named role.

Parameters
role-name The name of the role for which to return the external LDAP group names.

Example


(: execute this against the security database :)
xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";
 
sec:role-get-external-names("admin")

(: Returns the external LDAP group names for the "admin" role. :)    

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