Share via


alerts/alertsWhenDoNotDisturb Element

Specifies how to display alerts when the user is in the Do Not Disturb state.

alerts
  alertsWhenDoNotDisturb Element

<al:alertsWhenDoNotDisturb 
    xmlns:al="https://schemas.microsoft.com/2006/09/sip/alerts">
   token
</al:alertsWhenDoNotDisturb>

alertsWhenDoNotDisturbEnumEx

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

The content of this element is an XML token. Microsoft Lync 2010 recognizes the following values as enumerated in the alertsWhenDoNotDisturbEnum type:

Token

Description

displayAllAlerts

Display all alerts, except for conversation alerts, from people in the user's Workgroup container. This is the default value.

displayAlertsFromHighPresence.

Display only conversation alerts from people in the user's Workgroup access level.

noAlerts

Do not display alerts.

Example

The following XML code snippet shows an alerts category instance value that sets the alerts notification to display only conversation alerts from the user's team members, who have been granted the Workgroup access level.

<?xml version="1.0" encoding="utf-8" ?>
<al:alerts xmlns:al="https://schemas.microsoft.com/2006/09/sip/options/alerts">
     <al:alertsWhenDoNotDisturb>displayAlertsFromHighPresence</al:alertsWhenDoNotDisturb>
</al:alerts>

In Lync 2010, a contact is granted a Workgroup access level if the contact is a member of Container 300, also known as the Workgroup container.

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