Workbook.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 (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property UserStatus As Object
Get
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.