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

Namespace: Novalys.VisualGuard.Security
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public sealed class VGPrincipalPermission : IPermission, 
	IUnrestrictedPermission, ISecurityEncodable
Visual Basic
Public NotInheritable Class VGPrincipalPermission
	Implements IPermission, IUnrestrictedPermission, ISecurityEncodable

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.

Inheritance Hierarchy

System..::..Object
  Novalys.VisualGuard.Security..::..VGPrincipalPermission

See Also