Share via


alerts/notifyAdditionToContactList Element

Specifies whether to display alerts to the user when someone adds the user to his or her contact list.

alerts
  notifyAdditionToContactList Element

<al:notifyAdditionToContactList
    xmlns:al="https://schemas.microsoft.com/2006/sip/alerts">boolean</al:notifyAdditionToContactList>

Boolean

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child Elements

None

Parent Elements

Element

Description

alerts

An alerts category instance.

Text Value

True or False

Remarks

Microsoft Lync 2010 publishes this element when the user selects Notify me when someone adds me to his or her contact list from the Alerts option in the Lync Options dialog box. By default, Lync 2010 sets this value as True.

Example

The following XML code snippet shows an alerts category instance value indicating that the user will not be notified when someone adds the user to his or her contact list.

<alerts xmlns="https://schemas.microsoft.com/2006/sip/alerts">
   <notifyAdditionToContactList>false</notifyAdditionToContactList>
</alerts>

Insert content here.

Element Information

Namespace

https://schemas.microsoft.com/2006/09/sip/options/alerts

Schema Name

Options-Alerts

Validation File

Options-Alerts.xsd

Can be Empty

False

See Also

Reference

alerts