A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    IDictionary<Guid, bool> GetGroupMembershipForAccount(
    	Guid accountId,
    	bool includeInherited
    )

    Function GetGroupMembershipForAccount (
    	accountId As Guid,
    	includeInherited As Boolean
    ) As IDictionary(Of Guid, Boolean)

    IDictionary<Guid, bool>^ GetGroupMembershipForAccount(
    	Guid accountId,
    	bool includeInherited
    )

    abstract GetGroupMembershipForAccount :
            accountId : Guid *
            includeInherited : bool -> IDictionary<Guid, bool>

#### Parameters

accountId
  Type: System
  Guid
  The ID of the account.
includeInherited
  Type: System
  Boolean
  If set to
  , 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 (
) or inherited (
).
See Also

#### Reference

IGroupMembershipProvider Interface
Dundas.BI.AccountServices.Extensibility Namespace