Visual Guard Class Library Documentation

VGPrincipalPermissionAttribute Class

Allows security actions for VGPrincipalPermission to be applied to code using declarative security.

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

System.Object
   Attribute
      SecurityAttribute
         CodeAccessSecurityAttribute
            VGPrincipalPermissionAttribute

public class VGPrincipalPermissionAttribute : CodeAccessSecurityAttribute

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 PrincipalPermissionAttribute 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

VGPrincipalPermissionAttribute Members | Novalys.VisualGuard.Security Namespace | Principal | VGIPrincipal