Gets or sets the permission set granted to the role.
Namespace:
Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
[ObsoleteAttribute("Use VGSecurityManger.PermissionSets.GetPermissionSetInRole or VGSecurityManger.PermissionSets.GrantPermissionSetToRole ")] public VGPermissionSet PermissionSet { get; set; } |
| Visual Basic (Declaration) |
|---|
<ObsoleteAttribute("Use VGSecurityManger.PermissionSets.GetPermissionSetInRole or VGSecurityManger.PermissionSets.GrantPermissionSetToRole ")> _ Public Property PermissionSet As VGPermissionSet |
Field Value
A 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. |