I am having trouble with svySecurity (version 1.6.0) on a Mac. First I retrieve an object for a specific role:
- Code: Select all
var role = scopes.svySecurity.getRole('DA')
That works. Then I ask for the users that are members of this role:
- Code: Select all
var users = role.getUsers()
Then I get an error: org.mozilla.javascript.JavaScriptException: Error: User record is not specified (/Users/Omar/WorkspaceHis/svySecurity/svySecurity.js#1348)
Apparently it expects a record context in the underlying code (line 1908) and does not have one. Does anybody have a solution or a workaround for this?