WorkbookBase.UserStatus Property
Gets a 1-based, two-dimensional array that provides information about each user who has the workbook open as a shared list.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property UserStatus As Object
public Object UserStatus { get; }
Property Value
Type: System.Object
A 1-based, two-dimensional array that provides information about each user who has the workbook open as a shared list.
Remarks
The first element of the second dimension is the name of the user, the second element is the date and time when the user last opened the workbook, and the third element is a number indicating the type of list (1 indicates exclusive, and 2 indicates shared).
This property does not return information about users who have the specified workbook open as read-only.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.