CurrentLoginId
4 min
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 use this function to return the login id of the user use the currentuserdisplayname docid\ md8jyprvgjyldy6w4mi8d function to return the display name (usually first and last name) of the user syntax currentloginid() enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes1 business rules calculation rules (after save, with or without also recalculate on load) yes1 business rules calculation rules (before save or always, without also recalculate on load) yes1 business rules calculation rules (before save or always, with recalculate on load) yes1 business rules editing rules yes1 business rules initialization rules yes1 business rules read only rules yes1 business rules required rules yes1 business rules validation rules yes1 client expressions yes object permissions yes services yes ldap yes mobile yes quick actions (except ui quick actions) yes1 ui quick actions yes reports yes1 search/dashboard without field references yes1 search/dashboard with field references yes1 except in services 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 currentloginid() example
