A Sandcastle Documented Class Library

# IGroupService GetGroups Method

Retrieves a list of groups having the specified IDs.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    IDictionary<Guid, Group> GetGroups(
    	ICollection<Guid> groupIds
    )

    Function GetGroups (
    	groupIds As ICollection(Of Guid)
    ) As IDictionary(Of Guid, Group)

    IDictionary<Guid, Group^>^ GetGroups(
    	ICollection<Guid>^ groupIds
    )

    abstract GetGroups :
            groupIds : ICollection<Guid> -> IDictionary<Guid, Group>

#### Parameters

groupIds
  Type: System.Collections.Generic
  ICollection
  Guid
  The IDs of the groups to retrieve.

#### Return Value

Type: IDictionary
Guid, Group
A dictionary (keyed by group ID) containing the corresponding Group or
if the group does not exist.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | groupIds is .
NoPrivilegeException | The caller does not have system administration privileges. -or- One or more of the specified groups are associated with a tenant, and the caller does not have administration privileges for that tenant. -or- One or more of the specified groups are associated with a project, and the caller does not have administration privileges for that project.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IGroupService Interface
Dundas.BI.AccountServices Namespace