Loading TOC...

xdmp:user-external-security

xdmp:user-external-security(
   $user-id as xs:unsignedLong
) as element(external-user)?

Summary

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

Parameters
$user-id A user ID.

Example

xdmp:user-external-security(2646897984048470146)
=>
<external-user>
  <external-security-id>11235280821135443504</external-security-id>
  <user-name>john</user-name>
</external-user>

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