IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Developing using the JavaScript API > Samples

Getting the current userid

The current user ID can be retrieved through the TWUser variable in tw.system.user.

Samples