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: 3.2.912.1 (3.2.912.01)

Syntax

C#
public sealed class VGPrincipalPermission : IPermission, 
	IUnrestrictedPermission, ISecurityEncodable
Visual Basic (Declaration)
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