M-Files API 22.6.11519.0
GetViewsAdmin Method
VaultViewOperations Object : GetViewsAdmin Method
If this is set to true, common views are included.
The ID of the user whose views to retrieve.
Description
Gets the common views and/or views for a specific user.
Syntax
Visual Basic
Public Function GetViewsAdmin( _
   ByVal IncludeCommonViews As Boolean, _
   ByVal UserID As Long _
) As Views
Parameters
IncludeCommonViews
If this is set to true, common views are included.
UserID
The ID of the user whose views to retrieve.
Remarks

This method is available only if M-Files API is used in the server interface mode.

The user running a script that uses this method must have the Full control of vault administrative rights in the vault.

See Also

VaultViewOperations Object  | VaultViewOperations Members