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