MDAC 2.5 SDK - Technical Articles


 

ITrusteeGroupAdmin

The ITrusteeGroupAdmin interface allows the consumer to manage trustees that have other trustees as members. These "collection" trustees are called membership trustees. The interface allows the consumer to add and remove trustees from a membership trustee and to determine whether a trustee is a member of a membership trustee. It also allows the consumer to get a list of the members of a membership trustee and to get a list of the membership trustee to which a trustee belongs.

The provider may or may not support membership trustees that can have other membership trustees as members. This is provider-specific behavior.

When to Implement

The provider will implement the ITrusteeGroupAdmin interface on the data source object if it supports membership trustees. This interface is optional for all providers.

When to Call

After it initializes the data source object, the consumer uses this interface to examine or change the members of a membership trustee known by the provider.

Method Description
AddMember Adds a member trustee to a membership trustee.
DeleteMember Removes a trustee from a membership trustee.
GetMembers Gets the members of a membership trustee.
GetMemberships Gets the membership trustees to which a trustee belongs.
IsMember Determines whether a trustee is a member of a membership trustee.