Question3Replies2569Views Jayantha Member since 2010 9 posts Virtusa Posted: 5 years agoLast activity: 5 years 1 month ago Closed Solved How to get the privileges of given user idHow to get the privileges of given user idNeed to know about the way to get privileges of given user id of different access groups. (Not the for the current login user) Case Management Security ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 5 years agosahup1 PEGA replied to JayanthaHi Jayantha, Good Morning!would the following steps be of convincing to get the list of privileges for a known operator ID....Obj-Open [Data-Admin-Operator-ID] with pyUserIdentifierObj-Open [Data-Admin-Operator-AccessGroup] using pyAccessGroup reading from operator IDLoop through 'pyUserRoles' of AccessGroup set Role Name, Report definition name[pyReportName], Report definition class[pyReportClass], Report Page [pyPageName] parametersCall Rule-Obj-Report-Definition.pxRetrieveReportData with current parameter page enabled create a report definition in class Rule-Access-Role-Obj with .pyAccessRole as filter criteriaselect fields would be .pyLabel, .pyAccessToClass & pyRuleset and so on...Append the returned pxResults [Rule-Access-Role-Obj] to a new page listLoop on the new page list get pzInsKey into a parameterperform Obj-Open-By-Handle using pzInsKey [Rule-Access-Role-Obj]Loop through 'pyPrivilegeList' to append/build the final privilege list.Please share your thoughts/comments, Thank you!psahukaru Posted: 5 years agosahup1 PEGA replied to sahup1also please refer: https://pdn.pega.com/security/how-to-list-all-privileges-available-to-a… Posted: 5 years agoJayantha Virtusa replied to sahup1Thanks a lot this is much helpful to resolve my problem.Thanks Phani.