Open this page in the API Guide

IGroupMembershipProvider.GetGroupMembershipForAccount Method

Retrieves the groups to which the specified account belongs.

Namespace:  Dundas.BI.AccountServices.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
IDictionary<Guid, bool> GetGroupMembershipForAccount(
	Guid accountId,
	bool includeInherited
)

Parameters

accountId
Type: System.Guid
The ID of the account.
includeInherited
Type: System.Boolean
If set to true, include groups of which the account is a member due to membership in another group.

Return Value

Type: IDictionary<Guid, Boolean>
A dictionary with the key as the ID of the group and the value indicating whether the account's membership in the group is direct (true) or inherited (false).
See Also