Click or drag to resize

VGPrincipalPermissionAttribute Class

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

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2018.1.720.18 (2018.1.0720.18)
Syntax
[SerializableAttribute]
public sealed class VGPrincipalPermissionAttribute : CodeAccessSecurityAttribute

The VGPrincipalPermissionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodVGPrincipalPermissionAttribute
Initializes a new instance of the VGPrincipalPermissionAttribute class with the specified SecurityAction.
Top
Properties
  NameDescription
Public propertyAction (Inherited from SecurityAttribute.)
Public propertyAuthenticated
Gets or sets a value indicating whether the current principal has been authenticated by Visual Guard.
Public propertyName
Gets or sets the fullname of the permission or the name of the role.
Public propertyRepositoryId
Gets or sets the Visual Guard unique identifier of the item (role or permission).
Public propertyType
Specifies the type of item for which the current principal is a member.
Public propertyTypeId (Inherited from Attribute.)
Public propertyUnrestricted (Inherited from SecurityAttribute.)
Top
Methods
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.
See Also