RecycleBinItem.DeletedBy Property
Gets a value that specifies the user who deleted the Recycle Bin item.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public ReadOnly Property DeletedBy As User
Get
'Usage
Dim instance As RecycleBinItem
Dim value As User
value = instance.DeletedBy
[RemoteAttribute]
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. |