How to get currentUser by Javascript?
2 answers
Unfortunately it does not seem to have any way in javascript to get current user as per:
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript
Similar discussions are in forum as well such as:
https://jazz.net/forum/questions/68357/how-can-i-get-current-user
https://jazz.net/forum/questions/133477/work-item-customization-getting-current-user-as-logged-in-user
Don
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript
Similar discussions are in forum as well such as:
https://jazz.net/forum/questions/68357/how-can-i-get-current-user
https://jazz.net/forum/questions/133477/work-item-customization-getting-current-user-as-logged-in-user
Don
Please see answer https://jazz.net/forum/questions/133477/work-item-customization-getting-current-user-as-logged-in-user/184711 for how to get the item ID for the user that runs the operation. Thanks to Amaury Quintero for providing this info.
Comments
sam detweiler
Nov 12 '13, 7:33 p.m.This value is not available via JavaScript