For XQuery, take a look at the built-in functions in the `sec` (security) 
namespace <https://docs.marklogic.com/sec>.

If you're invoking this extract externally, you should also look at the 
Management API <https://docs.marklogic.com/REST/management/security>. This 
allows an authorized user to access the same configuration information over 
HTTP without having to write any custom code.

Justin


--
Justin Makeig
Director, Product Management
MarkLogic
[email protected]


> On Mar 29, 2017, at 10:25 AM, Eric Shevchuk <[email protected]> 
> wrote:
> 
> I am trying to create an xquery to extract users and roles does anyone have 
> such an xquery or can provide guidance on recommended best practices for 
> creating the xquery?
>  
> Thanks,
>  
> Eric Shevchuk
> Sr. Production Support/Applications Consultant
>  
> Infosys/Bristow Group, Inc.
> 2103 City West Blvd., 2nd Floor
> Houston, TX  77042
> [email protected]
> 
>  
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at: 
> http://developer.marklogic.com/mailman/listinfo/general




_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to