Top "Iidentity" questions

In .NET, IIdentity interface defines basic functionality of an identity object

ASP.NET MVC - Set custom IIdentity or IPrincipal

I need to do something fairly simple: in my ASP.NET MVC application, I want to set a custom IIdentity / …

asp.net asp.net-mvc forms-authentication iprincipal iidentity
HttpContext.Current.User.Identity.Name is always string.Empty

Hi I use a custom MembershipProvider. I want to know the current username during an application scenario, but when I …

asp.net httpcontext custom-membershipprovider iidentity
What is the idea behind IIdentity and IPrincipal in .NET

So, what is the purpose for existence of both IIdentity and IPrincipal, and not some IIdentityMergedWithPrincipal? When is it not …

c# .net iprincipal iidentity
Implementing a Custom Identity and IPrincipal in MVC

I have a basic MVC 2 beta app where I am trying to implement a custom Identity and Principal classes. I …

asp.net-mvc-2 iprincipal iidentity
What is Thread.CurrentPrincipal, and what does it do?

What is Thread.CurrentPrincipal used for? How does it help in the Authentication and Authorization of an application? Are there …

asp.net security c#-4.0 iprincipal iidentity
using custom IPrincipal and IIdentity in MVC3

I create my own IPrincipal and IIdentity implementation as shown below: [ComVisible(true)] [Serializable] public sealed class CustomIdentity : IIdentity { private …

asp.net-mvc-3 forms-authentication iprincipal iidentity custom-authentication
SerializationException on 'CustomIdentity' when user is denied in ASP.NET

I try to implement ASP.NET Authentication and Authorization on top of our existing database. We have a website calling …

serialization asp.net-membership iprincipal iidentity access-denied