using System; using System.Runtime.InteropServices; namespace System.Security.Principal { /// Defines the basic functionality of a principal object. // Token: 0x020005AC RID: 1452 [ComVisible(true)] public interface IPrincipal { /// Gets the identity of the current principal. /// The object associated with the current principal. // Token: 0x17000A6D RID: 2669 // (get) Token: 0x06003520 RID: 13600 IIdentity Identity { get; } /// Determines whether the current principal belongs to the specified role. /// true if the current principal is a member of the specified role; otherwise, false. /// The name of the role for which to check membership. // Token: 0x06003521 RID: 13601 bool IsInRole(string role); } }