views:

199

answers:

1

Hi, 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?

A: 

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
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

related questions