It's all about the answers!

Ask a question

How to get currentUser by Javascript?

guoping chen (191014) | asked Nov 12 '13, 6:36 p.m.
I add a field(contribute type) .
When workflow state is AA, then auto set the currentUser in the field.
But I don't know how to get currentUser by Javascript?

sam detweiler commented Nov 12 '13, 7:33 p.m.

This value is not available via JavaScript  

2 answers

permanent link
Don Yang (7.7k21111139) | answered Nov 12 '13, 8:00 p.m.
Unfortunately it does not seem to have any way in javascript to get current user as per:

Similar discussions are in forum as well such as:


permanent link
Ralph Schoon (63.2k33646) | answered May 21 '15, 4:03 p.m.
Please see answer for how to get the item ID for the user that runs the operation. Thanks to Amaury Quintero for providing this info.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.