Choose the correct SQL query from the below options to populate an attribute with the logged-in user's Display Name
In Saviynt EIC, when configuringdynamic attributes or custom forms, system variables are used to fetch context-specific data such as the currently logged-in user. To retrieve theDisplay Name of the logged-in user, the correct variable is${loggedInUser}, which directly represents the userkey of the active session user.
Option A correctly uses this variable in the SQL query to fetch the DISPLAYNAME from the Users table. This ensures that the attribute dynamically reflects the logged-in user's display name at runtime.
Option B is incorrect because${user.id}typically refers to the target user in a request context, not necessarily the logged-in user. Option C (${requestor}) may represent the requester in certain workflows but is not consistently equivalent to the logged-in user in all scenarios, especially in delegated or admin-driven requests.
Therefore, Option A is the most accurate and reliable approach for retrieving the logged-in user's display name in Saviynt configurations, ensuring proper context-aware data population.
Currently there are no comments in this discussion, be the first to comment!