Hi,For your use case users can login as VIEWERS, but assign PUBLISHER
priviliges to all viewers to the collection node they would be
subscribing to.Also let us know if you were succesful in logging in
users. import mx.managers.PopUpManager; import
mx.controls.SWFLoader; import com.adobe.rtc.messaging.UserRoles; import
com.adobe.rtc.sharedModel.CollectionNode; protected function
showLogin():void { var login:LoginDialog = new LoginDialog();
login.connectSession = cSession; PopUpManager.addPopUp(login, this);
PopUpManager.centerPopUp(login); } And the LoginDialog:
import mx.managers.PopUpManager; import
com.adobe.rtc.session.IConnectSession; import
com.adobe.rtc.messaging.UserRoles; [Bindable] public var
connectSession:IConnectSession; protected function login():void { var
authenticator:AdobeHSAuthenticator = new AdobeHSAuthenticator();
authenticator.userName = userNameField.text;
connectSession.authenticator = authenticator; //I am hoping that you are
adding a EventListener here before loggin in connectSession.login();
PopUpManager.removePopUp(this); }