[MarkLogic Dev General] Retrieving a list of users

Harry B. dnaguy at gmail.com
Fri Apr 6 11:46:02 PDT 2012


When I've done this, I use queries against the Security database to get the
info. You can use Query Console to get a handle on how data is structured
in the Security DB and I found great success with just using Xpath queries.

One thing I found difficult to do was distinguish app/real users from
system accounts, etc. The way I dealt with this was to add xml to the
sec:password-extra element that contained user details, what applications
they are users for, etc. The only downside, if it is one, is that you have
to invoke these queries against the Security DB...

I can give you some code examples, etc. if you have specific questions.

Harry

On Fri, Apr 6, 2012 at 12:26 PM, Steve Carton <steve at chesbay.net> wrote:

> Hi -
>
> I need to develop a web-based GUI that will allow an admin user to
> easily manage users of a web application. The desire is to have this
> limited admin GUI available and integrated into a larger XQuery-based
> web interface. I see functions to create, delete and modify Marklogic
> users, but I don't see a way to get a list of them. Is there such a
> function? Or, is there a way to query the security database to get such
> a list?
>
> Thanks,
>
> Steve Carton
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120406/aadef67b/attachment.html 


More information about the General mailing list