The sec functions need to be run against the security database, and this error would occur if you are not running it against the security database.
-Danny From: [email protected] [mailto:[email protected]] On Behalf Of Nalini v Sent: Thursday, February 25, 2010 5:39 AM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] ERROR: SEC-ROLEDNE: Role does not exist: sec:role-name = security Hello, I am failing to create a user using sec:create-user(). I am getting the following error when i run my below xquery. Could you tell me the reason. sec:create-user( "Tmp", "User Tmp", "newtemp", "Temporary", (), ()) But i have "security" role, infact security role comes by default. OUTPUT: SEC-ROLEDNE: Role does not exist: sec:role-name = security Stack trace: in /MarkLogic/security.xqy line 665: get-role-ids("security") $role-names := "security" $assert := () $col := "http://marklogic.com/xdmp/security" $r-name := "security" $role := () Where i went wrong? any idea........:)
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
