mscorlib(4.0.0.0) API with additions
IPrincipal.cs
2 
4 {
6  [ComVisible(true)]
7  [__DynamicallyInvokable]
8  public interface IPrincipal
9  {
12  [__DynamicallyInvokable]
14  {
15  [__DynamicallyInvokable]
16  get;
17  }
18 
23  [__DynamicallyInvokable]
24  bool IsInRole(string role);
25  }
26 }
Defines the basic functionality of a principal object.
Definition: IPrincipal.cs:8
Definition: __Canon.cs:3
IIdentity Identity
Gets the identity of the current principal.
Definition: IPrincipal.cs:14
bool IsInRole(string role)
Determines whether the current principal belongs to the specified role.
Defines the basic functionality of an identity object.
Definition: IIdentity.cs:8