User Profile Comparison

Compares profile attributes, aliases, assigned roles, effective permission lists, authorizations, emails, favorites, and special-use bindings across two PeopleSoft user profiles.
New to psLens? This page documents one specific report. To see how it runs in the product, what the output looks like, and how teams use it in practice, start with a live walkthrough.
Tailored Operational Context
  • Target Database: —
  • Context Type: —
  • Alert Severity: —
  • Triggered Time: —
  • Firing Context: —
  • Contextual SQL:
    —

User Profile Comparison Report

Report ID: security-compare-users Category: Security

User Profile Comparison diffs two PeopleSoft user accounts (PSOPRDEFN) across databases or within the same database across profile attributes, aliases, assigned roles, effective authorizations, email addresses, portal favorites, and system service bindings.

Parameters

ParameterRequiredDefaultDescription
operID1Yes—Source User ID (OPRID), trimmed and converted to uppercase.
target_dbNoSource databaseTarget database name configured in psLens.
operID2NoSame as operID1Target User ID (OPRID), trimmed and converted to uppercase.

Comparing the same User ID in the same database returns an error. Before expanding roles and permissions, psLens checks PSOPRDEFN in both databases and stops with an error if either user profile does not exist.

Tables Queried

TablePurpose
PSOPRDEFNCore user profile attributes, lock status, primary/row-security/process-profile permission lists, and existence check (credential columns excluded)
PSOPRALIASUser ID alias mappings (Employee, Contact, Customer, Vendor, and related IDs)
PSROLEUSERDirectly assigned roles and DYNAMIC_SW flags
PSROLEDEFNSubquery filter ensuring only defined roles are expanded
PSROLECLASSMapping from assigned roles to effective permission lists
PSCLASSDEFNSubquery filter ensuring only defined permission lists are expanded
PSAUTHITEMEffective component/page and WEBLIB_% authorizations across all effective permission lists
PSMENUITEMMenu and component enrichment joined with PSAUTHITEM
PSAUTHBUSCOMPEffective component interface authorizations
PSAUTHWSAuthorized Integration Broker service operations via assigned roles
PSAUTHPRCSEffective process group authorizations
SCRTY_ACC_GRPEffective accessible query trees and access groups (ACCESSIBLE = 'Y')
PSUSEREMAILUser email entries and PRIMARY_EMAIL indicator
PSPRUFDEFNSaved portal favorites
PSMSGNODEDEFNInbound default node user bindings (USERID, credential columns excluded)
PSOPTIONSSystem-wide Signon PeopleCode default user (OPRID)

Effective permission lists combine every CLASSID granted by PSROLECLASS with the user’s OPRCLASS (Primary Permission List), ROWSECCLASS (Row Security Permission List), and PRCSPRFLCLS (Process Profile Permission List) from PSOPRDEFN.

If any secondary table is not whitelisted in SWS in either database, the report completes with a Partial Data Notice warning listing the unwhitelisted table and database.

Report Output

The generated Markdown document includes these sections when populated:

  • Header Link: Direct link back to /users/compare in psLens with both databases and User IDs preselected.
  • Summary: Counts for Total Compared Items, Identical / Matching, Differences, Only in Source, and Only in Target, plus any Partial Data Notice.
  • Account & Profile Attributes: Side-by-side comparison of 14 PSOPRDEFN attributes (Description, Employee ID, Primary Email, Account Status, Operator Type, Language Code, Currency Code, Symbolic ID, Primary Permission List, Row Security Permission List, Process Profile, Default Nav Homepage, Password Set, and Failed Logins).
  • User ID Aliases: Alias types and values from PSOPRALIAS.
  • Assigned Roles: Role names and DYNAMIC_SW flags from PSROLEUSER.
  • Effective Permission Lists: Effective CLASSID list with the granting role sources.
  • Effective Components & Pages: Component, menu, page/item, actions, and display-only status.
  • Effective Web Libraries: WEBLIB_% functions and authorized action masks.
  • Effective Component Interfaces: Component interface and method authorizations.
  • Authorized Service Operations: Service operation names and authorized action masks.
  • Effective Process Groups: Process groups accessible through the user’s permission lists.
  • Effective Query Trees & Access Groups: Accessible query trees and access groups.
  • User Emails: Email types, addresses, and primary indicator from PSUSEREMAIL.
  • Portal Favorites: Object names and labels from PSPRUFDEFN.
  • Special System Usage & Bindings: Whether the account is the Signon PeopleCode default in PSOPTIONS or the default inbound user on any PSMSGNODEDEFN node.

How to Run

  • From Reports: Open Reports > Run Report and select User Profile Comparison under Security Audits. Choose the source database, enter operID1 (plus optional target_db and operID2), and click Run Now or Schedule.
  • From Compare Users: Open Security > Compare Users (/users/compare) to compare interactively and save the run to Report History. See Users.