Top "Iprincipal" questions

The System.

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
Custom Identity using MVC5 and OWIN

I trying to add custom properties to the ApplicationUser for a web site using MVC5 and OWIN authentication. I've read …

c# asp.net-mvc-5 claims-based-identity owin iprincipal
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
Is this Custom Principal in Base Controller ASP.NET MVC 3 terribly inefficient?

Despite the fact that I've been on here for a while, this is my first ever question on SO, so …

c# performance asp.net-mvc-3 authentication iprincipal
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
How can I make accessing my custom IPrincipal easier in ASP.NET MVC?

I've written a custom principal object which contains a few additional fields (email and userid in addition to the username). …

c# asp.net-mvc casting razor iprincipal
How does IPrincipal gets its roles?

I need to get know how SiteMapProvider.IsAccessibleToUser() works. Built-in XmlSiteMapProvider calls HttpContext.User.IsInRole() which uses System.Security.Principal.…

asp.net sitemapprovider iprincipal isinrole isaccessibletouser
How to set custom principal in asp.net

I am new to web application. I have created a custom principle and trying to set it in CurrentDomain. This …

c# asp.net permissions claims-based-identity iprincipal