iprincipal
ASP.NET Custom Pricipal and Cookies (tickets)
If i create a custom principal with five custom properties (example, phoneNumber), does the principal data get trasmitted inside of the cookie or does the data stay in the server?[详细]
2023-04-04 11:40 分类:问答Custom IPrincipal with Forms Authentication in ASP.NET MVC
This should be simple, but I simply cannot figure it out after all my googling. Here\'s what I want. I have a custom Users table (no roles at the moment) that I\'d like to authorize against. For this[详细]
2023-03-29 10:52 分类:问答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).[详细]
2023-03-27 14:26 分类:问答Current User is LocalSystem Check?
It is easy enough to determine if the user running my C# .NET 4.0 console app is a member of the local Administrators group. I am also trying to determine if it is running under LocalSystem开发者_运维[详细]
2023-03-27 03:45 分类:问答Implementing IPrincipal and IIdentity in MVC with use of custom membership and role provider
I\'m stuck with the implementation of a custom iprincpal and iidentity object. I spend a day now for searching how to implement these right and extend it with more informations.[详细]
2023-03-17 22:20 分类:问答What is the best way to cache a custom IPrincipal for a asp.net mvc website?
I have implemented a custom IPrincipal that I set in protected void Application_PostAuthenticateRequest(Object开发者_运维知识库 sender, EventArgs args)[详细]
2023-03-12 23:54 分类:问答Custom Principal reverting to GenericPrincipal on new requests
I\'m trying to implement a custom principal and custom identity in a .NET MVC website. I\'ve created a custom principal class which inherits from IPrincipal and a custom identity which inherits from I[详细]
2023-02-08 03:49 分类:问答MVC Authorization Role and IPrincipal - how does it work?
I\'ve managed to successfully implement a custom MembershipProvider for my MVC2 application. I have my own User table as well as Role table.[详细]
2023-02-07 03:44 分类:问答MVC2 :: How do I *USE* a Custom IIdentity Class?
I am trying to store a whole truckload of information about a user from a webservice.As this is information about the currently authenticated user, I thought it would make sense to store that informat[详细]
2023-02-06 09:21 分类:问答Code is ignoring PrincipalPermission attribute?
I have a Delete method on all my business objects that has the PrincipalPermission attribute on it. Example:[详细]
2023-01-24 05:46 分类:问答