Top "Windows-principal" questions

How to create WindowsIdentity/WindowsPrincipal from username in DOMAIN\user format

The WindowsIdentity(string) constructor requires the username to be in [email protected] format. But in my case I get …

c# windows-identity windows-principal
MVC3 Windows Authentication override User.Identity

I am building a intranet application using MVC3 with a MSSQL backend. I have authentication and roles (through a custom …

asp.net-mvc-3 windows-authentication intranet windows-identity windows-principal
Why is WindowsPrincipal.IsInRole always returning false for the "Administrators" group?

My local user account is in the Administrators group, and I wanted to simply figure out how a windows forms …

c# winforms windows-principal