Edit

Share via


ContactManager Class

Definition

The contact manager class is used to add, remove, and update contacts and their properties. The contact manager is also used to access Lync contact list groups.

public ref class ContactManager : Microsoft::Lync::Model::Internal::UCWFull
public class ContactManager : Microsoft.Lync.Model.Internal.UCWFull
type ContactManager = class
    inherit UCWFull
Public Class ContactManager
Inherits UCWFull
Inheritance

Properties

Groups

Returns the group collection.

InnerObject (Inherited from UCWBase)

Methods

BeginAddGroup(DistributionGroup, AsyncCallback, Object)

Adds a distribution group to the group list.

BeginAddGroup(String, AsyncCallback, Object)

Adds a new custom group to the group list.

BeginLookup(String, AsyncCallback, Object)

Looks up a contact or a distribution group by entryid, sip address, email address, display name, etc..

BeginRemoveContactFromAllGroups(Contact, AsyncCallback, Object)

Removes a contact from all groups except distribution groups.

BeginRemoveGroup(Group, AsyncCallback, Object)

Removes a group from the group list.

BeginSearch(String, AsyncCallback, Object)

Begins to search for contacts or distribution groups matching a specified search string. Results of the search are returned in the System.AsyncCallback you pass in the contactsAndGroupsCallback argument.

BeginSearch(String, SearchProviders, SearchFields, SearchOptions, UInt32, AsyncCallback, Object)

Searches for contacts and distribution groups that match the given search criteria.

CreateSubscription()

Creates a Subscription object that can be used for batching subscriptions or queries.

EndAddGroup(IAsyncResult)

Adds a new custom group to the group list.

EndLookup(IAsyncResult)

Looks up a contact or a distribution group by entryid, sip address, email address, display name, etc..

EndRemoveContactFromAllGroups(IAsyncResult)

Removes a contact from all groups except distribution groups.

EndRemoveGroup(IAsyncResult)

Removes a group from the group list.

EndSearch(IAsyncResult)

Searches for contacts and distribution groups that match the given search criteria.

Finalize()
GetContactByUri(String)

Finds or creates a new contact using the contact URI.

GetExpertSearchQueryString(String)

Gets the search query string used for expert search.

GetSearchFields()

Gets the supported search fields.

GetSearchProviderID(SearchProviders)

Gets the ID of a search provider.

GetSearchProviderStatus(SearchProviders)

Gets the search provider status.

Events

GroupAdded

Occurs when a group is added.

GroupRemoved

Occurs when a group is removed.

SearchProviderStateChanged

Occurs when the status of a search provider changes.

Applies to