Hi I have a synerio in that user mapped to two roles and roles have priority set like 1 and 2 ...my question is how to access highest code and role only ...
For exp
Code Name Role RolePriority
1 Rehman Abc 2
2 Rehman Def 3
3 Neha Des 1
So i want Rehman with Def role and Neha with Des role