IGroupServiceGetGroupMembershipForGroup Method |
Retrieves the groups to which the specified group belongs.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax IDictionary<Guid, bool> GetGroupMembershipForGroup(
Guid groupId,
bool includeInherited
)
Function GetGroupMembershipForGroup (
groupId As Guid,
includeInherited As Boolean
) As IDictionary(Of Guid, Boolean)
IDictionary<Guid, bool>^ GetGroupMembershipForGroup(
Guid groupId,
bool includeInherited
)
abstract GetGroupMembershipForGroup :
groupId : Guid *
includeInherited : bool -> IDictionary<Guid, bool>
Parameters
- groupId
- Type: SystemGuid
ID of the group. - includeInherited
- Type: SystemBoolean
If set to , include the groups which indirectly contain the
specified group due to that group's membership in another group.
Return Value
Type:
IDictionaryGuid,
Boolean
A dictionary where the key is the ID of the group containing the specified group. The value is
if the specified group is an explicit member of the group; otherwise,
.
Exceptions Exception | Condition |
---|
ArgumentException | groupId is Empty. |
NotFoundException | The group with the specified ID does not exist. |
NoPrivilegeException | The caller does not have system administration privileges. -or- The group is associated with a project, and the caller does not have administration privileges for that project. -or- The group is associated with a tenant, and the caller does not have administration privileges for that tenant. |
InvalidSessionException | The caller context is not associated with a valid session. |
Remarks
If includeInherited is , the value of each item in the
dictionary will be .
See Also