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

SOLVED

Custom Display Name

Syferius
Level 2
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
Hironmay
Correct answer by
Level 10
Level 10
Hi,



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



Hope this helps.

Thanks

Hironmay Basu





View solution in original post

6 Replies
Hironmay
Correct answer by
Level 10
Level 10
Hi,



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



Hope this helps.

Thanks

Hironmay Basu





View solution in original post

Raff_
Employee
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)

forsythes
Level 1
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.

forsythes
Level 1
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.

Hironmay
Level 10
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