VGRolesInstanceGetRolesByPermissionSet Method (VGPermissionSet, Boolean)
|
Gets roles to which this particular permissionset has been assigned.
This method can contain roles of sub permissionset also, depending on parameter - isIncludeRolesForSubPermissionSet
Namespace:
Novalys.VisualGuard.Security.Membership
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.1.831.19 (2019.1.0831.19)
Syntax public VGRoleCollection GetRolesByPermissionSet(
VGPermissionSet permissionSet,
bool isIncludeRolesForSubPermissionSet
)
Public Function GetRolesByPermissionSet (
permissionSet As VGPermissionSet,
isIncludeRolesForSubPermissionSet As Boolean
) As VGRoleCollection
Parameters
- permissionSet
- Type: Novalys.VisualGuard.Security.MembershipVGPermissionSet
permissionset - isIncludeRolesForSubPermissionSet
- Type: SystemBoolean
true if want to include roles of subpermissionsets else false
Return Value
Type:
VGRoleCollectionroles to which this permissionset has been assigned
See Also