You should define a variables at process level. inside your action node you need to set up that variable value and then in the task definition (XML file) in the assignment field you need to use an expression ${variable}. Where "variable" is the name of the variable that contains the user name :)
Cheers