ui:userInformation

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.

Specifies the options used to configure user information.

Syntax

<ui:userInformation majorVersion="..." minorVersion="..." 
    xmlns:ui="http://schemas.microsoft.com/2006/09/sip/options/userInformation">
  <ui:phones>...</ui:phones>
  <ui:callHandlingList>...</ui:callHandlingList>
</ui:userInformation>

Attributes

Attribute

Data Type

Description

majorVersion

int

Optional attribute specifying the major version number for the userInformation options.

minorVersion

int

Optional attribute specifying the minor version number for the userInformation options.

Parent Element

This is a top-level element in the Enhanced Presence Schemas. Used in applications, it will be enveloped within an application-specific parent element.

Child Elements

Element

Occurrence

Description

ui:phones

1

A list of phone numbers.

ui:callHandlingList

0 or 1

A list of call handling targets.

ct:delimiter

0 or more

Beginning marker of a schema extension.

ct:end

0 or 1

Ending marker of all the schema extension

ct:extension

0 or 1

Custom schema extension.

Remarks

This element supports schema extensions and custom extension. Schema extensions are any elements in the same namespace enclosed between ct:delimiter and ct:end elements. Custom extension are any elements in other namespaces added as child elements of the ct:extension element.

Examples

XML Example of the userInformation Element

  <userInformation xmlns="http://schemas.microsoft.com/2006/09/sip/options/userInformation">
    <phones>
      <phone type="work">
        <publish>true</publish>
        <readOnly>false</readOnly>
        <displayString>7777777777</displayString>
      </phone>
      <phone type="mobile">
        <publish>true</publish>
        <readOnly>true</readOnly>
        <uri>1234567890</uri>
        <displayString>1234567890</displayString>
      </phone>
      <phone type="home">
        <publish>true</publish>
        <readOnly>true</readOnly>
        <uri>1234567890</uri>
        <displayString>1234567890</displayString>
      </phone>
      <phone type="other">
        <publish>true</publish>
        <readOnly>false</readOnly>
        <displayString>6666666666</displayString>
      </phone>
    </phones>
    <callHandlingList />
    <lastContact>
      <displayString>bob</displayString>
      <uri>sip:bob@contoso.com</uri>
    </lastContact>
  </userInformation>