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)
The OnAddedToGroup event is received for each contact in a logged on user's contact list and for each group to which the contact belongs. When a client application has registered a user with Microsoft Office Communications Server, the server provisions the client with a contact list that includes such details as the group membership of each contact. For a given contact in the provisioned list, this event is raised for each group that contact is a member of.
In the course of a session, a local user can also add a contact to other groups or remove the contact from a group. These events are raised in response to corresponding group membership actions.
Win32 COM/C++ Syntax
interface IUccGroupMembershipEvent : IUnknown