Gets or sets the permission set granted to the role.

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

Syntax

C#
[ObsoleteAttribute("Use VGSecurityManger.PermissionSets.GetPermissionSetInRole or VGSecurityManger.PermissionSets.GrantPermissionSetToRole ", 
	true)]
public VGPermissionSet PermissionSet { get; set; }
Visual Basic
<ObsoleteAttribute("Use VGSecurityManger.PermissionSets.GetPermissionSetInRole or VGSecurityManger.PermissionSets.GrantPermissionSetToRole ", 
	true)> 
Public Property PermissionSet As VGPermissionSet
	Get
	Set

Property Value

Type: VGPermissionSet
A VGPermissionSet object representing the permission set granted to the role.

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionthe value is modified and the role is marked as a built-in role or is a shared role.

-or-

the application of the permission set is not equal to the application of the role.

See Also