IGroupServiceGetMembers Method |
Retrieves the members of a group. There is an option indicating whether or not to include the inherited members.
Namespace: Dundas.BI.AccountServicesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.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 Guid
- ID of the group.
- includeInherited Boolean
- Whether to include the inherited members.
- groupMembers IDictionaryGuid, 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 ( if it is an explicit member; otherwise, ).
- accountMembers IDictionaryGuid, 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 ( if it is an explicit member; otherwise, ).
Exceptions| Exception | 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 , the value of each item in the
dictionary will be .
See Also