EM_B_USER_VW(SQL View) |
Index Back |
---|---|
eS Buyer UserIDsReturns list of OPRIDs that are mapped to an eS Role via the EM_ROLE_CONFIG page/component. OPRID must have a Role that is configured/mapped to eS Buyer role types (excludes System Administrator in result set. Add a Buyer Role to System Administrators User Profile to include). |
SELECT DISTINCT C.OPRID , C.DESCR , C.EMAILID FROM PSROLEDEFN A , PS_EM_ROLE_CONFIG B , PS_ROLEXLATOPR C , PSROLEUSER D WHERE A.ROLENAME = B.EM_ROLENAME AND B.EM_ROLENAME = D.ROLENAME AND D.ROLEUSER=C.ROLEUSER AND C.EMAIL_USER_SW = 'Y' AND C.EMAILID <> ' ' AND A.ROLESTATUS = 'A' AND B.EM_ROLETYPE IN ('05', '10', '15', '20') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
3 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |