xdmp.userExternalSecurity( user-id as (Number|String) ) as Object
Returns external security id and user name for an external user.
Parameters | |
---|---|
user-id | A user ID. |
xdmp.userExternalSecurity( xdmp.user("user2@REPO.LOCAL", xdmp.externalSecurity("ldap08-a") ) ) => { "externalSecurityId": "3714400769541931396", "userName": "user2@REPO.LOCAL" }
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.