Share via


PresenceInfo class

Defines the PresenceInfo Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is p15:presenceInfo.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office15.PowerPoint.PresenceInfo

Namespace:  DocumentFormat.OpenXml.Office15.PowerPoint
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class PresenceInfo _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As PresenceInfo
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class PresenceInfo : OpenXmlLeafElement

Remarks

2.3.35 presenceInfo

Target namespace: https://schemas.microsoft.com/office/powerpoint/2012/main

A CT_PresenceInfo element (section 2.5.37) that specifies presence information for a comment author. See section 2.2.10 for how this element integrates with [ISO/IEC-29500:2008].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="presenceInfo" type="CT_PresenceInfo"/>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.37 CT_PresenceInfo

Target namespace: https://schemas.microsoft.com/office/powerpoint/2012/main

Referenced by: presenceInfo

A complex type that specifies presence information extensions to the CT_CommentAuthor complex type ([ISO/IEC-29500-4] section A.3).

Attributes:

userId: A xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies a unique user id for a person.

providerId: A xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the identity provider that produced the subsequent userId attribute.

This table lists example data for these attributes.

Identity Provider

providerIdvalue

userIdvalue

Description of userId value

No Provider

"None"

"Name"

Author’s name

Active Directory

"AD"

SID

Active Directory Security Identifier (as specified in [MS-DTYP] section 2.4.2)

Windows Live ID

"Windows Live"

CID

A 64-bit signed decimal that uniquely identifies a user on Windows Live.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_PresenceInfo">

<xsd:attribute name="userId" type="xsd:string" use="required"/>

<xsd:attribute name="providerId" type="xsd:string" use="required"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

PresenceInfo members

DocumentFormat.OpenXml.Office15.PowerPoint namespace