Currently we got plugin which gets the UserInfo using UserSettings which seems to be deprecated.

Are there any alternative to UserSettings to get logged in user info?

Tridion.UI.UserSettings.getJsonUserSettings(true).User.Data.GroupMemberships.some(e => e["@title"] === "CMS Tools Users");

(Its working till now but seems to be problematic for future)

  • Binod can you please provide the Tridion version you are using , are you doing any upgrade , if so can you provide the tridion version that you are upgrading
    – Anand NS
    Mar 11 at 15:19
  • Also let us know where you are using this , I assume UI Extension etc.
    – Anand NS
    Mar 11 at 15:20
  • currently we using tridion verision 8.5.0 and yes we are using it for UI extension (.js)
    – Binod
    Mar 11 at 15:27
  • the problem is with 8.5.0 or you have issue with the higher version like ( Sites 9.x)
    – Anand NS
    Mar 11 at 15:30
  • Binod, please refer to this link tridion.stackexchange.com/questions/16175/… ( not sure if you are facing similar issue). Can you share the Error message for us to review and get back to you.
    – Anand NS
    Mar 12 at 7:21

Your Answer

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

Browse other questions tagged or ask your own question.