How can I get the TCM URI of the current registered user in Tridion?
I am developing a GUI extension for Tridion 2011 and must check whether the component was detected by a registered user or not. I plan to compare the current registered user TCM user URI with component.getLockedById()
.
I'm pretty sure I saw how to load the currently registered username somewhere when you look at the Tridion JavaScript files.
EDIT
I found one way to get the username at least:
var username = Tridion.ContentManager.UserSettings.getInstance().getUserName();
source share