PresenceInfo class
Defines the PresenceInfo Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:presenceInfo.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2013.Word.PresenceInfo
Namespace: DocumentFormat.OpenXml.Office2013.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.5.43 CT_PresenceInfo
Target namespace: http://schemas.microsoft.com/office/word/2012/wordml
Referenced by: CT_Person
The CT_PresenceInfo complex type<43> specifies uniquely identifying contact information for a person.
Attributes:
providerId: An xsd:string attribute ([XMLSCHEMA2] section 3.2.1) that specifies the identity provider that produced the subsequent userId attribute.
userId: An xsd:string attribute ([XMLSCHEMA2] section 3.2.1) that specifies a unique user id for a person.
This table lists the allowed values of the providerId attribute and the corresponding meanings of the userId attribute.
Identity Provider | providerIdvalue | userId value |
No Provider | "None" | Author’s name |
Active Directory | "AD" | Active Directory Security Identifier (as specified in [MS-DTYP] section 2.4.2) |
Windows Live ID | "Windows Live" | 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="providerId" type="xsd:string" use="required"/>
<xsd:attribute name="userId" type="xsd:string" use="required"/>
</xsd:complexType>
See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).