Shortcuts

WCF and Custom Profile Provider

I have a custom SQL profile provider and I would to access the users profile properties in a WCF web service. I have the profile provider settings added to the web.config and I have successfully implemented a custom membership and role provider within the
same WCF web service. When i try to call System.Web.HttpContext.Current.Profile.GetPropertyValue("MyPropertyName").ToString() it returns null because the current user is null. I have <serviceHostingEnvironmentaspNetCompatibilityEnabled="true"multipleSiteBindingsEnabled="true"
/> in my web.config and [AspNetCompatibilityRequirements(RequirementsMode
= AspNetCompatibilityRequirementsMode.Allowed)]
on my WCF service.