OP-018: Project an AD principal into a SaifUser, resolving the manager's user id¶
GetSaifUserByUserId 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-018
Trigger
Caller invokes GetSaifUserByUserId over the Security route.
LogRequestDetails logs the operation name and arguments (BR-WCF-032).
TryGetSaifUser calls SaifUserPrincipal.FindByIdentity on domain SAIF; a null principal returns null; otherwise the AD-only fields Department, EmployeeId, ManagerName, ManagerUserId, JobTitle, desk location, and primary fax are copied onto the projected SaifUser (BR-WCF-025a).
ManagerUserId performs a second directory lookup by the manager's common name, returning empty when the manager name is blank (BR-WCF-024a).
Return.
On failure: a directory exception is logged by the installed error handler and surfaced as a generic SOAP fault with exception detail included.
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.