Share via


ui:readOnly

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 whether the phone number is read-only (true) or not (false).

Syntax

<ui:readOnly xmlns:ui="http://schemas.microsoft.com/2006/09/sip/options/userInformation">true|false</readOnly>

Attributes

None

Tag Content

Default Value

Data Type

Description

false

xs:Boolean

Contains the read-only flag, true or false.

Parent Element

Element

Description

ui:phone

A phone number and other related information shown as part of user information options.

Child Elements

None

Remarks

The default value is false. If the phone number originates from Active Directory, it cannot be modified through the Options pane in Communicator, even if it is not set to be read-only by this element.

Examples

XML Example of the readOnly 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>5555555555</displayString>
    </phone>
  </phones>
  <callHandlingList />
</userInformation>