Open this page in the API Guide

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 (25.1.0.1000)
Syntax
IDictionary<Guid, Group?> GetGroups(
	ICollection<Guid> groupIds
)

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 null if the group does not exist.
Exceptions
ExceptionCondition
ArgumentNullExceptiongroupIds is null.
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.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also