2

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.

4

In Anquilla you can use the following as an example:

var userSettings = Tridion.UI.UserSettings.getInstance();
alert(userSettings.getUserName());
| improve this answer | |
4

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
| improve this answer | |

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.