Hi,

I can get users of a specified role if I pass the DN of that role to the param like below,
RoleVault.getUsersInRole("cn=Role1,cn=container1,c n=Level10,o=system");

But unable to get users of the selected role if I pass the variable to the param which is having role DN getting it from form field.
example: var roledn = form.getValue("Roles");
RoleVault.getUsersInRole(roledn);

Kindly help me out.

Thanks & Regards,
Sathish