CurrentLoginId
Returns the login ID for the user associated with the current session. This is the LoginID field from the Details tab in the user profile.
|
Syntax
CurrentLoginId()
Enabled for
Search/Dashboard | Yes |
Business Rules | Yes |
Quick Actions | Yes |
Workflow Objects | Yes |
Reports | No |
Parameters
none |
Return Value
Unicode text value.
Example
To find all incident instances that are assigned to the user associated with the current session, in the Advanced Search page, select the Owner field and in the text box enter:
$(CurrentLoginId())
See the following example: