OP-019: Resolve an ADP employee id to a SaifUser via its AD account¶
GetSaifUserByEmployeeId is invoked over the Security route on SAIF.Services.WCF.Services.Security.SecurityService; this page documents the process end to end, from route dispatch to the message the caller receives.
Field
Value
Operation ID
OP-019
Trigger
Caller invokes GetSaifUserByEmployeeId over the Security route.
LogRequestDetails logs the operation name and arguments (BR-WCF-032).
TryGetSaifUserByEmployeeId queries Employee by upper-cased id; a miss returns null; a hit resolves the AD user for that employee's user id and falls back to the ADP projection (BR-WCF-023a, BR-WCF-028a).
Return.
On failure: a directory or Oracle/NHibernate exception is logged by the installed error handler and surfaced as a generic SOAP fault with exception detail included.
The following diagram visualizes this process's control flow.
flowchart TD
A["Log request details"]
B["TryGetSaifUserByEmployeeId queries Employee<br>by upper-cased id"]
B1{"Employee found?"}
B2["Miss: return null"]
B3["Hit: resolve the AD user for that<br>employee's user id and fall back to<br>the ADP projection"]
C["Return."]
A --> B
B --> B1
B1 -->|"No"| B2
B1 -->|"Yes"| B3
B2 --> C
B3 --> C
Note: Statements marked with * were inferred from code structure, naming
conventions, or contextual evidence where direct confirmation was not available
in source artifacts. Statements marked with ** could not be confirmed; treat
as unknown until verified.