VGAuditHierarchyRolesTreeGetRoles Method (ListVGApplication, ListVGContextualGroup)
|
This method will return the roles for provided VGApplications and for provided contextual groups.
Case1. If applications list is empty, and contextual group is provided, It will return roles for all applications with provided contextual groups.
Case2. If contextual group is empty, and applications list is provided, It will return roles for provided applications with all contextual groups.
Case3. If application list is provided, and contextual group is provided, It will return roles for provided applications and provided contextual groups.
Namespace:
Novalys.VisualGuard.Security.Membership
Assembly:
Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2019.0.101.19 (2019.0.0101.19)
Syntaxpublic List<VGGrantedRole> GetRoles(
List<VGApplication> applications,
List<VGContextualGroup> contextualGroups
)
Public Function GetRoles (
applications As List(Of VGApplication),
contextualGroups As List(Of VGContextualGroup)
) As List(Of VGGrantedRole)
Parameters
- applications
- Type: System.Collections.GenericListVGApplication
List of VGApplications - contextualGroups
- Type: System.Collections.GenericListVGContextualGroup
List of VGContextualGroups
Return Value
Type:
ListVGGrantedRoleRoles for provided VGApplications and for provided contextual groups
See Also