cancel
Showing results for 
Search instead for 
Did you mean: 

ADF identity user info compenent doesn't work in ADF 6.1.1

KarekMedAM
Star Contributor
Star Contributor

Hey,

I'm using ADF 6.1.1 with APS 2.4. When I use the component  <adf-identity-user-info ></adf-identity-user-info> it shows nothing. I also tried to call the service directly, but it gets all values as undefined, although I successfully log in, and I can see my list of apps.

What could be the problem and how I can fix it?

Thank you in advance.

10 REPLIES 10

SergioCea
Champ in-the-making
Champ in-the-making

Hi,
I imagine I'm late, but the problem may be that you're missing the isLoggedIn and identityUser properties.

The difference with the old component is these two parameters, the first tells the component if the user is logged in or not, normally it's false so when the component is placed without any property it's not displayed, and the second is the user information.

 <adf-identity-user-info isLoggedIn="true" [identityUser]="user" [menuPositionX]="'after'" [menuPositionY]="'below'" [namePosition]="'right'" ></adf-identity-user-info> 

You can take the info user with 

this.identityUserService.getCurrentUserInfo()

 

 

<adf-identity-user-info
          isLoggedIn="true"
          [identityUser]="user"
          [menuPositionX]="'after'"
          [menuPositionY]="'below'"
          [namePosition]="'right'"
        ></adf-identity-user-info>