SPCopyDestination.ModifiedBy Property
Gets the user ID of the user who last modified the SPCopyDestination object.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property ModifiedBy As Integer
Get
'Usage
Dim instance As SPCopyDestination
Dim value As Integer
value = instance.ModifiedBy
public int ModifiedBy { get; }
Property Value
Type: System.Int32
A 32-bit integer that specifies the user ID.
Remarks
Use the ModifiedBy property with the SPWeb.SiteUsers.GetByID method to return the SPUser object that represents the user who last modified the SPCopyDestination object.
Examples
The following code returns the SPUser who last modified the SPCopyDestination object:
SPWeb.SiteUsers.GetByID(SPCopyDestination.ModifiedBy)