Get User in Kinetic

When I wanted to get the current user ID in classic, I would use:

		EpiDataView edv = (EpiDataView)this.oTrans.EpiDataViews["CallContextClientData"];
		string myUserString = edv.dataView[0]["CurrentUserId"].ToString();

How can I get this same user value in Application Studio? What is the syntax? Do I assign it to a Transview field? I want to pass the current user back into my UBAQ as part of its BPM. I normally pass values into the UBAQ BPM by using a row-update widget to assign values to the CallContextBpmData fields from my Transview fields. Then I run the BAQ custom update action.
I am just not sure on the syntax to get the current user.
Thank you for your time!

Constant.CurrentUserID is a stock dataview column that is always available.

If you look in debugger at the Constant dataview… you’ll see all the fields that are available for stuff like this:

3 Likes