Description
Returns a GUID represeting the current user.
Signature
WhoAmI()
Example 1
WhoAmI() Returns context.userid e.g. 30dd379c-ee2f-11db-8314-0800200c9a55
Example 2
Get User ID based on direct API call to WhoAmIRequest
WhoAmI('whoamirequest')
Example 3
Get Initiating User ID. Returns context.initiatinguserid
WhoAmI('initiatinguserid')
Example 4
Get Organization ID of current user
WhoAmI('organizationid')
Example 5
Get Business Unit ID of current user user
WhoAmI('businessunitid')