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"
}
Powered by MarkLogic Server | Terms of Use | Privacy Policy