Andreas, Rather than describe your solution, can you explain the problem you’re trying to solve? Why do you think you need a temporary user? What permission/privilege challenge are you trying to address?
You might also take a look at amps <https://docs.marklogic.com/guide/admin/security#id_81246>. An amp allows a security administrator to elevate the privileges of a specific function. This is beneficial in that the security is defined in configuration, not code. Justin -- Justin Makeig Senior Director, Product Management MarkLogic [email protected] > On Sep 15, 2017, at 4:29 AM, Andreas Holzgethan > <[email protected]> wrote: > > Hi @all, > > I need the possibility to create temporary user for a transaction. > I just found in the documentation that such a functionality is used when for > example LDAP is configured as an external security. > > Could you please explain me how this is done there? > > My thirst thought was to create a user with the function > "sec:create-user-with-role". At the end of the transaction I would just call > the function "sec:remove-user". > Could you please give me feedback about this implementation? > Is such a implementation a big influence on the performance? > > Thanks! > > Best regards > Andreas Holzgethan > > Andreas Holzgethan BSc. > > IT Consultant > > > EBCONT enterprise technologies GmbH > Millennium Tower > Handelskai 94-96 > 1200 Wien > > Mobil: +43 664 606 517 05 > > > > Email:[email protected] > Web:http://www.ebcont-et.com/ > > OUR TEAM IS YOUR SUCCESS > > HG St. Pölten - FN 293731 h > UID: ATU63444589 > _______________________________________________ > 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
