PresenceInfo class

Office 2013 and later

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

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

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class PresenceInfo : OpenXmlLeafElement

2.3.35 presenceInfo

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

A CT_PresenceInfo element (section 2.5.37) that specifies presence information for a comment author.<9> 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.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.37 CT_PresenceInfo

Target namespace: http://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).<19>

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.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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