Allows checks against the current principal (see Principal) using the language constructs defined for both declarative and imperative security actions.
Namespace: Novalys.VisualGuard.SecurityAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
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.