
sec.roleGetExternalNames( role-name as String ) as Sequence
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. | 
     // execute this against the Security database
    const sec = require('/MarkLogic/security.xqy');
    
    sec.roleGetExternalNames("admin");
    // Returns the external LDAP group names for the "admin" role.