combit List & Label 29 - .NET Help
combit.ReportServer.ClientApi.Objects Namespace / DataSource Class / SetSelectedUserGroupsAsync Method
The list of user groups.


In This Topic
    SetSelectedUserGroupsAsync Method (DataSource)
    In This Topic
    Sets the user groups which are given access to the data source. You may get the list of available user groups by calling GetSelectedAndAvailableUserGroupsAsync.
    Syntax
    'Declaration
     
    
    Public Function SetSelectedUserGroupsAsync( _
       ByVal groups As IEnumerable(Of UserGroup) _
    ) As Task
    public Task SetSelectedUserGroupsAsync( 
       IEnumerable<UserGroup> groups
    )
    public:
    Task^ SetSelectedUserGroupsAsync( 
       IEnumerable<UserGroup^>^ groups
    ) 

    Parameters

    groups
    The list of user groups.
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also