IGroupService.GetMembers Method |
Retrieves the members of a group. There is an option indicating whether or not to include the inherited members.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntaxvoid GetMembers(
Guid groupId,
bool includeInherited,
out IDictionary<Guid, bool> groupMembers,
out IDictionary<Guid, bool> accountMembers
)
Sub GetMembers (
groupId As Guid,
includeInherited As Boolean,
<OutAttribute> ByRef groupMembers As IDictionary(Of Guid, Boolean),
<OutAttribute> ByRef accountMembers As IDictionary(Of Guid, Boolean)
)
void GetMembers(
Guid groupId,
bool includeInherited,
[OutAttribute] IDictionary<Guid, bool>^% groupMembers,
[OutAttribute] IDictionary<Guid, bool>^% accountMembers
)
abstract GetMembers :
groupId : Guid *
includeInherited : bool *
groupMembers : IDictionary<Guid, bool> byref *
accountMembers : IDictionary<Guid, bool> byref -> unit
Parameters
- groupId
- Type: System.Guid
ID of the group. - includeInherited
- Type: System.Boolean
Whether to include the inherited members. - groupMembers
- Type: System.Collections.Generic.IDictionary<Guid, Boolean>
When this method returns, contains a dictionary specifying the groups which are members
of the specified group. The key is the ID of the group and the value indicates if the group is an explicit
member of the specified group (true if it is an explicit member; otherwise, false).
- accountMembers
- Type: System.Collections.Generic.IDictionary<Guid, Boolean>
When this method returns, contains a dictionary specifying the accounts which are members
of the specified group. The key is the ID of the account and the value indicates if the account is an explicit
member of the specified group (true if it is an explicit member; otherwise, false).
ExceptionsException | Condition |
---|
ArgumentException | groupId is Empty. |
NotFoundException | The group with the specified ID does not exist. |
InvalidOperationException |
An attempt was made to get the members of the Everyone group or a built-in seat-specific group.
|
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 false, the value of each item in the
dictionary will be true.
See Also