Users Class

User List. It is the root element of WorkbookUserDataPart.When the object is serialized out as xml, its qualified name is x:users.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Spreadsheet.Users

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(UserInfo))> _
Public Class Users _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As Users
[ChildElementInfoAttribute(typeof(UserInfo))]
public class Users : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • UserInfo <x:userInfo>

[ISO/IEC 29500-1 1st Edition]

18.11.2.2 users (User List)

This element represents a list of users who currently have this shared workbook open. This list does not include any users who have the workbook open in Read-Only mode.

Parent Elements

Root element of SpreadsheetML Shared Workbook User Data part

Child Elements

Subclause

userInfo (User Information)

§18.11.2.1

Attributes

Description

count (Active User Count)

Number of users who currently have this shared workbook open.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Users) is located in §A.2. end note]

© ISO/IEC29500: 2008.

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

Users Members

DocumentFormat.OpenXml.Spreadsheet Namespace