Re: [MarkLogic Dev General] marklogic xquery to extract users and roles (Eric Shevchuk)

2017-03-29 Thread Eric Shevchuk
Thank you and that get me going in the right direction! Thanks, Eric Shevchuk Sr. Production Support/Applications Consultant Infosys/Bristow Group, Inc. 2103 City West Blvd., 2nd Floor Houston, TX 77042 eric.shevc...@bristowgroup.com From: general-boun...@developer.marklogic.com

[MarkLogic Dev General] marklogic xquery to extract users and roles (Eric Shevchuk)

2017-03-29 Thread Gary Vidal
Here is a basic script you can call from any database that has a security database. The trick is to use xdmp:invoke-function from your database to security database. Once your in security database just read the database as regular xml. For the sake of clarity you should never expose the

Re: [MarkLogic Dev General] marklogic xquery to extract users and roles

2017-03-29 Thread Justin Makeig
For XQuery, take a look at the built-in functions in the `sec` (security) namespace . If you're invoking this extract externally, you should also look at the Management API . This allows an authorized user to

[MarkLogic Dev General] marklogic xquery to extract users and roles

2017-03-29 Thread Eric Shevchuk
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

Re: [MarkLogic Dev General] mlproj, yet another project manager for MarkLogic

2017-03-29 Thread Florent Georges
Thank you, Dave! Of course Roxy supports multiple environments. I think the main differences are: - the use of a JSON format to organize the environment configuration, supporting (eventually) all properties from the Management API; - the ability to have any arbitrary import graph between the