Jordan Tangy's picture

Hi everyone,

I'm trying to get all the users from a database by using the following code:

var db = ArisData.getSelectedDatabases()[0];
var userList = db.UserList();

I'm getting only one user (mine) among ten other users, despite that the "UserList" function is a function which retrieves ALL the users of the database.

I thought it was a problem of privileges, so I gave the same privileges to another user, but nothing changed.

Either way, no matter which privileges the user has, I need to hold all of them in a list.

If someone knows an alternative way, it will really help.

I need all the user to know if each one has access to the database (yes/no/yes as system user).

Thank you

Tags: ARIS 10 ARIS Report ARIS Report Scripting javascript Reports