How to get all user list who are there in a specific role?

0
In my application there are 3 roles 1) HR 2) Manager and 3) Employee I have a page lets say Add_Employee, in this I have created 3 drop down field one field is for showing all the employees who are under role HR, one for manager and one for all Employee.   So how I can get all the employees name of a specific role in a specific drop down field?
asked
2 answers
3

use the Xpath on user role with the token 'UserRole_HRmanager' in your dropdown

 

example:

[System.UserRoles/System.UserRole/id = '[%UserRole_Manager%]']  


 

answered
0

This can also be done like so:

[System.UserRoles = '[%UserRole_Manager%]']  

answered