Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Problem with setUserUsericonURL

Avatar

Level 1

Hi, when I make a connection, I want to change the userIconUrl and a userDisplayName values.

Below you will find an example of code :

_session.userManager.setUserDisplayName(_session.userManager.myUserID, "CustomDisplayName");
_session.userManager.setUserUsericonURL(_session.userManager.myUserID,  "http://kamfamily.files.wordpress.com/2009/10/rss_icon.jpg") ;

The problem  in my exemple is that I can't change both of those values. I can only change one of them separately.


In my example only the UserUsericonURL has been changed.

If I change the order of the affectation, only the UserDisplayName will change.

Is it a problem of synchronisation ?

0 Replies