Gets or sets the permission set granted to the role.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
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: VGPermissionSetA VGPermissionSet object representing the permission set granted to the role.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | the 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. |