In Custom.js add the following alert statement in the method customAfterWorkflowLoad()
alert("The current user name is: " + supUserName);
I believe the value is available in a global variable named supUserName.
The following document may also be of some use
https://cw.sdn.sap.com/cw/docs/DOC-149768
Regards,
Dan van Leeuwen