I am building my first Silverlight 3 + RI Services application and need some help.
It will be deployed in an controlled corporate intranet, 100% windows clients. I have started from the Silverlight Business Application template.
These are my requirements:
I have modified the following in the default Business Application template:
With these modifications I resolve requirement #1 (get the currently logged-in user). But when I examine RiaContext.Current.User
, I don't have access to other properties from AD, such as group memberships. How can I achieve my other requirements?
Thanks for your help.
In order to do this you will have to write your own Profile Provider and then modify the user class to include these profile properties which you can then access.
Have a look at page Section 13.3 of the RIA Services Overview document and let me know if you need any help.
We are just in the middle of implementing a RIA Services application and have written our own custom membership provide and profile provider so let me know if you need a hand.