How to access request values in .NET Code Behind


I would like to access requester username or user currently assigned to action within .NET code behind.

I’ve tried in this formula (assuming to this ticket: “Currency” type for the FieldsDataType that displays currency according to the culture)


But those call returns null objects.
How to access these values properly from .NET code behind?

Hi @hazey,

The best way to do this is to create a hidden field in the form and in the Mapping macro IN the current username (Current user.Username macro). You can then use this value in code behind by referencing the Text parameter of the hidden field.