Hello,
thank you, for your information. It was the information, to create a login.
But I've build a standard SL navigation application. Here I've implement DevForce Silverlight to create a login with DevForce Silverlight and ASP.NET Membership and handle my dataoperations.
On my main page I use a EntityManager.Principal property. It works fine to return a UserBase information like IsAuthenticed or username for example in my main page. The navigation menu to show a navigation page can be restrickted as expected.
But how can I route EntityManager.Principal property to check user IsInRole() to my navigationpage?
Here I will create a Dashboard, here I need to check user roles to enable/disable buttons and other xaml elements for example.
When I try to set in main page datacontext => this.ContentFrame.DataContext = user after Login, in my navigation page are no user context is routed.
Regards
Dirk
Edited by master-of-disaster - 16-Jun-2010 at 1:40pm