Avatar

Level 2
Hello,



Whenever I call
"cSession.userManager.setUserDisplayName(cSession.userManager.myUserID,
name)" I get the below error message (insufficient permission). I'm
not sure why since I logged into the ConnectNow account as the
owner (supplied username and password with AdobeHSAuthenticator).
In addition, cSession.userManager.myUserRole is 100, which is
owner, so I should have sufficient permissions to change the
display name. cSession is a ConnectSessionContainer variable.



It may be worthy to note that I attempt to change the display
name after logging the user out from one ConnectSessionContainer
and then into another ConnectSessionContainer (see below code).



cSession.logout();

cSession.roomURL = room;

cSession.authenticator = auth;

cSession.login();


cSession.userManager.setUserDisplayName(cSession.userManager.myUserID,
name) //throws error message





-------------------------------------- ERROR MESSAGE
-----------------------------------------

Error: UserManager.setUserStatus: insufficient permissions to
change user name

at
com.adobe.rtc.sharedManagers::UserManager/setUserDisplayName()[C:\work\main\connect\cocomo\src\com\adobe\rtc\sharedManagers\UserManager.as:484]





code_away