0

I'm trying to downgrade a asp.net (VB) project from 4.5 to 4.0. The only error left is an undefined call to "System.Security.Claims.ClaimsPrincipal". Is there any equivalent in the 4.0 framework ?

Code :

Dim p As New System.Security.Claims.ClaimsPrincipal(New AppIdentity(user, True))
HttpContext.Current.User = p
Thread.CurrentPrincipal = p
Irvin Dominin
  • 30,819
  • 9
  • 77
  • 111
clem2k
  • 1
  • 1
  • This namespace is avaible only for Framework .NET 4.5+ – Fals Nov 26 '13 at 13:39
  • Hi, thanks, i did understand that before posting, i'm just looking for some other way to replace the code ^^ But thanks anyway. – clem2k Nov 27 '13 at 07:32
  • Instead of Claims, you should downgrade this for the legacy Identy Model http://msdn.microsoft.com/en-us/library/ftx85f8x(v=vs.110).aspx – Fals Nov 27 '13 at 11:21

0 Answers0