0

I have a silverlight control on my asp.net mvc page, need to communicate with a webservice where i need to send the current role of the user logged into the system with. But how do I access the "Roles.GetRolesForUser()" from within my silverlight application?

H4mm3rHead
  • 553
  • 1
  • 12
  • 28

1 Answers1

1

http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx

I hope that helps you out.

Justice
  • 141
  • 5
  • cheers mate, that did it, seems a bit overkill though having to access the membership this way (although i cant see another way of doing it) hate having to reconfigure my service bindings when i publish my website to my production server :-) – H4mm3rHead Nov 22 '09 at 21:58