User Access to Servoy security

Is it possible to provide a specific group of users, access to the Servoy security function, thus allowing that group of users to control their own user setup?

in the client?
Or do they have a copy of the developer?
Because there is no security dialog in the client anyway.
You can build this youreself if you want (see security node in the method editor)

In the client.

I will check out the Security Method.

I am having problems with the correct syntax for getting the User Groups. What I am using is:

var UserID = security.getUserID();
globals.UserID = UserID;
var UserGroupID = security.getUserGroups(1,globals.UserID);
globals.UserGroupID = UserGroupID;

The global UserID is type integer
The global UserGroupID is type integer

This set the userID but not the UserGroup

I have also tried the same code but with the global UserGroupID as a type Text, but still no joy.

I get the error message:
Can’t find method
com.servoy.j2db.scripting.JSSecurity.js_getUserGroups(number,number)

What am I doing wrong?

try:

var userId = security.getUserName() // user id
var userGroupId = security.getUserGroups(userId) // dataset containg the groups authorized for the selected user
for (var i = 1; i <= userGroupId.getMaxRowIndex() ; i++)
{
var ug_id = userGroupId.getValue(i,1) // group id for the user
var ug_name = userGroupId.getValue(i,2) // group name
}

Hope this helps

ciao