I'm attempting to try and work with this sample:
https://github.com/marklogic/userlogin/blob/master/registration-form.xqy which
is a simple registration form to create user accounts in MarkLogic.
I'm using:
xdmp:eval(sec:create-user($user,$desc,$password,(),(),()),
(),
<options xmlns="xdmp:eval">
<database>{xdmp:database("Security")}</database>
</options>)
But I continue to get the error: SEC-ROLEDNE: (err:FOER000) Role does not
exist: sec:role-name = security
I've confirmed that my Security database is attached to the database I'm
working with. It seems to me that xdmp:eval is not working here but I don't
understand why if that is the case.
Appreciate any assistance.
Thanks,
Zach
The information contained in this communication is intended for the use
of the designated recipients named above. If the reader of this
communication is not the intended recipient, you are hereby notified
that you have received this communication in error, and that any review,
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please
notify The Associated Press immediately by telephone at +1-212-621-1898
and delete this email. Thank you.
[IP_US_DISC]
msk dccc60c6d2c3a6438f0cf467d9a4938
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general