Share via


File.ModifiedBy property

Gets a value that returns the user who last modified the file.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public ReadOnly Property ModifiedBy As User
    Get
'Usage
Dim instance As File
Dim value As User

value = instance.ModifiedBy
public User ModifiedBy { get; }

Property value

Type: Microsoft.SharePoint.Client.User
Returns a User instance representing the user who last modified the file.

Exceptions

Exception Condition
[System.IO.FileNotFoundException]

File cannot be found. Error code: -2147024894.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

See also

Reference

File class

File members

Microsoft.SharePoint.Client namespace