[MarkLogic Dev General] Resolving role IDs from a role ID

Jacob Meushaw jmeushaw at gmail.com
Thu Sep 20 07:26:16 PDT 2007


I'm sure there is an easy solution to this. I'm trying to learn more
about security. I've used xdmp:document-get-permission() to retrieve
the persmissions assigned to a given document. The results of this
query give me something like:

<sec:permission>
   <sec:capability>update</sec:capability>
   <sec:role-id>1251346123451341</sec:role-id>
</sec:permission>

How do I figure out what the role name is that matches the role-id?

Thanks,
Jake


More information about the General mailing list