Loading TOC...

sec.userGetExternalNames

sec.userGetExternalNames(
   $user-name as String
) as Sequence

Summary

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

Parameters
$user-name The name of the user.

Example


    // execute this against the Security database
    const sec = require('/MarkLogic/security.xqy');
    
    sec.userGetExternalNames("user1");
    // Returns the external names for the user "user1".
      

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