SELECT DISTINCT A.OPRID , G.PNLGRPNAME FROM PSOPRDEFN A , PSROLECLASS B , PSROLEUSER C , PSAUTHITEM D , PSPGEACCESSDESC E , PSPNLGROUP F , PSMENUITEM G WHERE B.ROLENAME = C.ROLENAME AND D.MENUNAME = G.MENUNAME AND D.BARNAME = G.BARNAME AND D.BARITEMNAME = G.ITEMNAME AND F.PNLGRPNAME = G.PNLGRPNAME AND A.OPRID = C.ROLEUSER AND B.CLASSID = D.CLASSID AND D.MENUNAME NOT IN ('APPLICATION_DESIGNER','CLIENTPROCESS','DATA_MOVER','IMPORT_MANAGER','OBJECT_SECURITY','QUERY') AND D.MENUNAME NOT LIKE 'WEBLIB%' AND D.AUTHORIZEDACTIONS = E.AUTHORIZEDACTIONS
|