Visual Guard Class Library Documentation

VGPrincipalPermission Class

Allows checks against the current principal (see Principal) using the language constructs defined for both declarative and imperative security actions.

For a list of all members of this type, see VGPrincipalPermission Members.

System.Object
   VGPrincipalPermission

public class VGPrincipalPermission : IPermission, ISecurityEncodable, IUnrestrictedPermission

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class can be used in place of the PrincipalPermission class and allows to check whether a Visual Guard permission or role is granted to the current Visual Guard principal.

Requirements

Namespace: Novalys.VisualGuard.Security

Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll)

See Also

VGPrincipalPermission Members | Novalys.VisualGuard.Security Namespace | VGPrincipalPermissionAttribute | VGIPrincipal | PrincipalPermission