Open this page in the API Guide

IGroupMembershipProvider.ModifyGroupMembership Method (Guid, ICollection<Guid>, ICollection<Guid>, ICollection<Guid>, ICollection<Guid>)

Changes the membership of a group.

Namespace:  Dundas.BI.AccountServices.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void ModifyGroupMembership(
	Guid groupId,
	ICollection<Guid> accountsToAddIds,
	ICollection<Guid> accountsToRemoveIds,
	ICollection<Guid> groupsToAddIds,
	ICollection<Guid> groupsToRemoveIds
)

Parameters

groupId
Type: System.Guid
ID of the group to be modified.
accountsToAddIds
Type: System.Collections.Generic.ICollection<Guid>
IDs of accounts to be added to the group. null if no accounts to be added.
accountsToRemoveIds
Type: System.Collections.Generic.ICollection<Guid>
IDs of accounts to be removed from the group. null if no accounts to be removed.
groupsToAddIds
Type: System.Collections.Generic.ICollection<Guid>
IDs of groups to be added to the group. null if no groups to be added.
groupsToRemoveIds
Type: System.Collections.Generic.ICollection<Guid>
IDs of groups to be removed from the group. null if no groups to be removed.
Exceptions
ExceptionCondition
NotSupportedExceptionModify operations are not supported.
See Also