userid

This function returns a string with the name of the user who processed the workflow or has a lock on a work item.

The syntax is as follows:
userid()