Roles Assigned to a Component

Your rating: None Average: 5 (1 vote)

The SQL will pull Roles assigned to a specific component.

 SELECT B.MENUNAME,
  B.BARITEMNAME   ,
  A.ROLENAME
   FROM PSROLECLASS A ,
  PSAUTHITEM B
  WHERE A.CLASSID = B.CLASSID
AND B.BARITEMNAME = :1 -- COMPONENT NAME
GROUP BY B.MENUNAME,
  B.BARITEMNAME    ,
  A.ROLENAME
ORDER BY B.MENUNAME,
  A.ROLENAME;

Please try to help out with unanswered topics on the forum. Chances are you have had the same issue/question some time in your IT career!

Comments

Have a question? Please ask it on the forum instead.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
The question below is to prevent automated spam submissions.
8 + 12 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.