.NET Framework 4.6 and 4.5
The PrincipalPermissionAttribute type exposes the following members.
|Action||Gets or sets a security action. (Inherited from SecurityAttribute.)|
|Authenticated||Gets or sets a value indicating whether the current principal has been authenticated by the underlying role-based security provider.|
|Name||Gets or sets the name of the identity associated with the current principal.|
|Role||Gets or sets membership in a specified security role.|
|TypeId||When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)|
|Unrestricted||Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared. (Inherited from SecurityAttribute.)|