I have a claim based Application with SQL Server as Provider. I have created a web part and deployed on Claim based web application and now I am able to retrieve the Claim sets with below code
IClaimsPrincipal claimsPrincipal =Page.user as IClaimsPrincipal;
IClaimsIdentity claimsIdentity = (IClaimsIdentity)claimsPrincipal.Identity;
This is good, now I have a Custom WCF Service Hosted in _Vti_bin and Avaiable to Claim Based Application as Virtual Directory.
So My question is : Can I Access claims same way as I am doing in Web Part as this WCF service is running under same context?
Am I missing something or this approach is possible?
Thanks in Advance!!
View Complete Post