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

MalibuR9
MalibuR9
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by MalibuR9
Customize the badges you want to showcase on your profile
Re: UserRoles problem. - Adobe LiveCycle 01-04-2010
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); }

Views

76

Likes

0

Replies

0