Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Custom Display Name

Avatar

Level 2
If i login with my AdobeID and password, can i change my
display name? Problem is that i want users automaticly login with
my account to be OWNER, but with custom name.
1 Accepted Solution

Avatar

Correct answer by
Level 10
Hi,



I guess you can try this attached code. You can call the
setUserDisplayName after creationComplete.



Hope this helps.

Thanks

Hironmay Basu





6 Replies

Avatar

Correct answer by
Level 10
Hi,



I guess you can try this attached code. You can call the
setUserDisplayName after creationComplete.



Hope this helps.

Thanks

Hironmay Basu





Avatar

Employee
The correct way of doing this would be using external
authentication, where you can set the name you want and the role
you want for each user, and none of them runs as the account owner
(that on top of being the meeting host has also the "power" to, for
example, delete all your rooms and do other nasty stuff)

Avatar

Level 1

For the rest of us who are having the same problem, can you please attach the code? I was unable to find the "attached code" anywhere.

Avatar

Level 1

Is there a way to set a user so that they show up as the "Host" but are not the "OWNER?" I'm still confused on exactly what these terms mean. I understand that the OWNER of the room is me, with all the rights and permissions to destroy every room I've built... but I don't understand the difference between PUBLISHER and VIEWER. As with the previous post, I would also like to allow others to "Host" the chat under a specific name, but I'm unsure how to handle this in my code.

Avatar

Level 10

Hi,

I guess sometimes the word and owner and host turns confusing. But for Afcs , they are are same. A owner has a user role value of 100.

Publishers and viewers have user roles of 50 and 10 respectively.

Publishers and Viewers have different rights in various components.

When you log in with your user name and password in a room, you get assigned a owner role i.e. role = 100.

When you log in as guest, you get assigned to user role of either Publisher i.e. 50 or Viewer i.e. 10 depending on whether your roomManager's whether roomManager.autopromote is true or false respectively.

For changing the displayName , you can either follow the approach raff mentioned or I said in previous posts.

Hope this helps.

Thanks

Hironmay Basu