PTAI_PRIV_VW

index back

Action Items - Privs


SELECT DISTINCT D.OPRID , C.PTAI_LIST_ID , A.PTAI_PRIV_ID FROM PS_PTAI_PRIVILEGE A , PS_PTAI_PRIVASSGN B , PS_PTAI_LIST_PRIV C , PSOPRDEFN D WHERE B.PTAI_PRIV_ID = A.PTAI_PRIV_ID AND C.PTAI_PRIVSET_ID = B.PTAI_PRIVSET_ID AND (EXISTS ( SELECT 'X' FROM PS_PTAI_LIST_PRIV F WHERE F.PTAI_LIST_ID = C.PTAI_LIST_ID AND F.PTAI_PRIVSET_ID = C.PTAI_PRIVSET_ID AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = D.OPRID AND ((F.PTAI_MBR_TYPE = 'USER' AND F.PTAI_MBR_NAME = X.ROLEUSER) OR (F.PTAI_MBR_TYPE = 'ROLE' AND F.PTAI_MBR_NAME = X.ROLENAME)))))

PeopleSoft Field NameField TypeColumn TypeDescription
OPRIDCharacter(30)VARCHAR2(30) NOT NULLA user's ID (see PSOPRDEFN).
PTAI_LIST_IDCharacter(31)VARCHAR2(31) NOT NULLAction Items - Action Item List ID
PTAI_PRIV_IDCharacter(30)VARCHAR2(30) NOT NULLPrivilege ID
index back(c)David Kurtz 2019, www.go-faster.co.ukPeopleTools 8.54
PTRef generated on 09-JUN-19