This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)
This interface can be queried from a IUccCategoryContext where the context is "containers". An application can use this interface to determine which container instances include a given user. The application can then use this information to implement application-specific logic to control or display the access to the contained category instances. An example of such usage scenario is to display blocked users or to reject calls from certain federated users.
Win32 COM/C++ Syntax
interface IUccContainerMembershipManager : IUnknown
In the following example,
pCategoryCtx is a category context object whose name is "containers". The category context is cast to the IUccContainerMembershipManager interface.
IuccContainerMembershipManager _cmm = pCategoryCtx as IUccContainerMembershipManager;