IGroupService.GetGroupMembershipForAccount Method |
Retrieves the groups to which the specified account belongs.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
SyntaxIDictionary<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
ID of account. - includeInherited
- Type: System.Boolean
If set to true, include the groups which indirectly contain the
specified account due to that account's membership in another group.
Return Value
Type:
IDictionary<Guid,
Boolean>
A dictionary where the key is the ID of the group containing the account. The value is
true
if the specified account is an explicit member of the group; otherwise,
false.
Exceptions
Remarks
If includeInherited is false, the value of each item in the
dictionary will be true.
See Also