Loading TOC...

MarkLogic 9 Product Documentation
xdmp.userExternalSecurity

xdmp.userExternalSecurity(
   user-id as (Number|String)
) as Object

Summary

Returns external security id and user name for an external user.

Parameters
user-id A user ID.

Example

xdmp.userExternalSecurity(
  xdmp.user("user2@REPO.LOCAL",
    xdmp.externalSecurity("ldap08-a")
  )
)
=>
{
  "externalSecurityId": "3714400769541931396",
  "userName": "user2@REPO.LOCAL"
}

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