IGroupMembershipProviderModifyGroupMembership Method (Guid, ICollectionGuid, ICollectionGuid)

Change the group membership of an account.

Namespace:  Dundas.BI.AccountServices.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
void ModifyGroupMembership(
	Guid accountId,
	ICollection<Guid> addToGroupIds,
	ICollection<Guid> removeFromGroupIds
)

Parameters

accountId
Type: SystemGuid
The ID of the account to be modified.
addToGroupIds
Type: System.Collections.GenericICollectionGuid
Group IDs which this account to be added to. It can be if no groups to add to.
removeFromGroupIds
Type: System.Collections.GenericICollectionGuid
Group IDs which this account to be removed from. It can be if no groups to remove from.
Exceptions
ExceptionCondition
NotSupportedExceptionModify operations are not supported.
See Also