MicrosoftOfficeLiveBusinessContactManager.GetContactsBasic Method

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Returns the list of contact names and IDs in the specified contact group that match the search term.

Namespace:  WebBCM
Assembly:  OfficeLive (in OfficeLive.dll)


<SoapHeaderAttribute("AuditHeaderValue")> _
<SoapHeaderAttribute("UserHeaderValue")> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetContactsBasic ( _
    ContactGroup As String, _
    SearchTerm As String, _
    IsAscending As Boolean _
) As ContactBasic()
Dim instance As MicrosoftOfficeLiveBusinessContactManager
Dim ContactGroup As String
Dim SearchTerm As String
Dim IsAscending As Boolean
Dim returnValue As ContactBasic()

returnValue = instance.GetContactsBasic(ContactGroup, _
    SearchTerm, IsAscending)
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public ContactBasic[] GetContactsBasic(
    string ContactGroup,
    string SearchTerm,
    bool IsAscending


  • ContactGroup
    Type: System.String
    String that is the Name property for the ContactGroup. Default groups are named:
    • Lead or Prospect

    • Customer

    • Vendor

    • Employee

    • Newsletter Subscriber

    • This parameter must be set to NULL to get all contacts.

  • SearchTerm
    Type: System.String
    String on which to filter this search.
    This parameter must be set to NULL to get all contacts.
  • IsAscending
    Type: System.Boolean
    Boolean to sort in ascending order, rather than the default descending order.

Return Value

Type: []
Array of ContactBasic objects


Fields available to match are:

  • ContactFullname

  • WorkPhone

  • CellPhone

  • HomePhone

  • Business2Number

  • PagerNumber

  • WorkFax

  • OtherFaxNumber

  • Email

  • Email2

  • IMAddress


For an interactive example of this method, download the Contact Manager Web service examples tool from the MSDN Code Gallery.

See Also


MicrosoftOfficeLiveBusinessContactManager Class

MicrosoftOfficeLiveBusinessContactManager Members

WebBCM Namespace