cc:contactCard

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.

Represents the contact information derived from Active Directory.

Syntax

The elements must be in the following sequential order.

<contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
  <identity>...</identity>
  <address>...</address>
  <company>...</company>
  <department>...</department>
  <title>...</title>
  <office>...</office>
  <url>...</url>
  <phone>...</phone>
  <automaton>...</automaton>
</contactCard>

Attributes

Attribute

Data Type

Description

majorVersion

int

Optional

minorVersion

int

Optional

updated

DateTime

Optional attribute indicating the time when this element was last updated.

Any attribute

Any type

Optional custom attribute.

Parent Element

None

Child Elements

Element

Occurrence

Description

cc:identity

0 - unbounded

The identity element

cc:address

0 - unbounded

The address element

cc:company

0 - unbounded

The company element

cc:department

0 - unbounded

The department element

cc:title

0 - unbounded

The title element

cc:office

0 - unbounded

The office element

cc:url

0 - unbounded

The url element

cc:phone

0 - unbounded

The phone element

cc:automaton

0 or 1

The automaton element

ct:delimiter

0 - unbounded

The ct:delimiter element

ct:end

0 - unbounded

The ct:end element

Remarks

Multiple instances of contactCard can be used to publish different pieces of the contact information.

Examples

A contactCard element specifying the display name and the e-mail address of the user.

        <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
          <identity>
            <name>
              <displayName>bob</displayName>
            </name>
            <email>bob@contoso.com</email>
          </identity>
        </contactCard>

A contactCard element specifying the work phone number of the user.

        <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
          <phone type="work">
            <uri>111-111-1111</uri>
            <displayString>111-111-1111</displayString>
          </phone>
        </contactCard>

An empty contactCard element that can be used to block subscribers from seeing any contact information of the user.

        <contactCard xmlns="http://schemas.microsoft.com/2006/09/sip/contactcard">
          <company />
          <title />
          <office />
        </contactCard>