ContactManager members

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.

The ContactManager type exposes the following members.

Properties

  Name Description
Public property Groups Returns the group collection.

Top

Methods

  Name Description
Public method BeginAddGroup(String, AsyncCallback, Object) Adds a new custom group to the group list.
Public method BeginAddGroup(DistributionGroup, AsyncCallback, Object) Adds a distribution group to the group list.
Public method BeginLookup Looks up a contact or a distribution group by entryid, sip address, email address, display name, etc..
Public method BeginRemoveContactFromAllGroups Removes a contact from all groups except distribution groups.
Public method BeginRemoveGroup Removes a group from the group list.
Public method 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.
Public method BeginSearch(String, SearchProviders, SearchFields, SearchOptions, UInt32, AsyncCallback, Object) Searches for contacts and distribution groups that match the given search criteria.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreateSubscription Creates a Subscription object that can be used for batching subscriptions or queries.
Public method EndAddGroup Adds a new custom group to the group list.
Public method EndLookup Looks up a contact or a distribution group by entryid, sip address, email address, display name, etc..
Public method EndRemoveContactFromAllGroups Removes a contact from all groups except distribution groups.
Public method EndRemoveGroup Removes a group from the group list.
Public method EndSearch Searches for contacts and distribution groups that match the given search criteria.
Public method Equals (Inherited from Object.)
Protected method Finalize (Overrides UCWFullFinalize().)
Public method GetContactByUri Finds or creates a new contact using the contact URI.
Public method GetExpertSearchQueryString Gets the search query string used for expert search.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetSearchFields Gets the supported search fields.
Public method GetSearchProviderID Gets the ID of a search provider.
Public method GetSearchProviderStatus Gets the search provider status.
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event GroupAdded Occurs when a group is added.
Public event GroupRemoved Occurs when a group is removed.
Public event SearchProviderStateChanged Occurs when the status of a search provider changes.

Top

See also

Reference

ContactManager class

Microsoft.Lync.Model namespace