A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void ModifyGroupMembership(
    	Guid groupId,
    	ICollection<Guid> accountsToAddIds,
    	ICollection<Guid> accountsToRemoveIds,
    	ICollection<Guid> groupsToAddIds,
    	ICollection<Guid> groupsToRemoveIds
    )

    Sub ModifyGroupMembership (
    	groupId As Guid,
    	accountsToAddIds As ICollection(Of Guid),
    	accountsToRemoveIds As ICollection(Of Guid),
    	groupsToAddIds As ICollection(Of Guid),
    	groupsToRemoveIds As ICollection(Of Guid)
    )

    void ModifyGroupMembership(
    	Guid groupId,
    	ICollection<Guid>^ accountsToAddIds,
    	ICollection<Guid>^ accountsToRemoveIds,
    	ICollection<Guid>^ groupsToAddIds,
    	ICollection<Guid>^ groupsToRemoveIds
    )

    abstract ModifyGroupMembership :
            groupId : Guid *
            accountsToAddIds : ICollection<Guid> *
            accountsToRemoveIds : ICollection<Guid> *
            groupsToAddIds : ICollection<Guid> *
            groupsToRemoveIds : ICollection<Guid> -> unit

#### 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.
  if no accounts to be added.
accountsToRemoveIds
  Type: System.Collections.Generic
  ICollection
  Guid
  IDs of accounts to be removed from the group.
  if no accounts to be removed.
groupsToAddIds
  Type: System.Collections.Generic
  ICollection
  Guid
  IDs of groups to be added to the group.
  if no groups to be added.
groupsToRemoveIds
  Type: System.Collections.Generic
  ICollection
  Guid
  IDs of groups to be removed from the group.
  if no groups to be removed.

Exceptions

Exception | Condition
--- | ---
NotSupportedException | Modify operations are not supported.

See Also

#### Reference

IGroupMembershipProvider Interface
ModifyGroupMembership Overload
Dundas.BI.AccountServices.Extensibility Namespace