WindowsPrincipal public class WindowsPrincipal : ClaimsPrincipal Documentation Code public WindowsPrincipal(WindowsIdentity ntIdentity) public virtual bool IsInRole(int rid) public virtual bool IsInRole(SecurityIdentifier sid) public virtual bool IsInRole(WindowsBuiltInRole role)