I have a GUI Extension, I want to get the username and description of the user logged in to Tridion and clicked the GUI Extension in Ribbon bar.


In Anquilla you can use the following as an example:

var userSettings = Tridion.UI.UserSettings.getInstance();

You can user following for get the username & Description

var settings = Tridion.UI.UserSettings.getJsonUserSettings(true)
var userName = settings.User.Data.Name;
var description = settings.User.Data.Description

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.