How to Show All the roles assigned to the User in self service.

This topic has 3 replies, 2 voices, and was last updated 5 years, 2 months ago by rashrani.

  • Author
    Posts
  • #17518
     rashrani
    Participant

    My requirement is that user should be able to see all the roles assigned to him.How should I implement it?

    #17530
     rashrani
    Participant

    Please guide me into the right direction.

    #17610
     vijay.godhasara
    Participant

    Hello,

    For this case you need to customize self-service code to display roles. current user case it will display some basic information like username, firstname, lastname, mail etc.

    you need to change in UserProfileTemplate.html and UserProfileView,js file to view roles.User object contains authzroles object that would be show in html.

    Thanks,

    #17613
     rashrani
    Participant

    Thank you so much for you guidance. I understand I can add the new tab in user profile template to show the roles. Can you please tell a little bit about what changes should I do in UserProfileView.JS.

    Thank you again!!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?