Share via


RecycleBinItem.DeletedBy property

Gets a value that specifies the user who deleted the Recycle Bin item.

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

Syntax

'Declaration
Public ReadOnly Property DeletedBy As User
    Get
'Usage
Dim instance As RecycleBinItem
Dim value As User

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

Property value

Type: Microsoft.SharePoint.Client.User
Returns a User instance representing the user who deleted the Recycle Bin item.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

User cannot be found. Error code: -2146232832.

[System.UnauthorizedAccessException]

Access is denied. Error code: -2147024891.

See also

Reference

RecycleBinItem class

RecycleBinItem members

Microsoft.SharePoint.Client namespace