System.Security.Principal.IPrincipal public interface IPrincipal Documentation Code IIdentity Identity { get; } bool IsInRole(string role)