CurrentUserEmail
Returns the primary email address of the user associated with the current session. This is the Primary Email field from the Details tab in the user profile.
Syntax
CurrentUserEmail()
Enabled for
Search/Dashboard | Yes |
Business Rules | Yes |
Quick Actions | Yes |
Workflow Objects | Yes |
Reports | No |
Parameters
none |
Return Value
Unicode text value. Returns an email address value, such as admin@company.com.
If the Primary Email field on the Details tab in the user profile is empty, returns an error.
Example
The following example finds the active incident instances for the employee with the email address associated with the user of the current session.