Share via


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)

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)

See also

Reference

SPCopyDestination class

SPCopyDestination members

Microsoft.SharePoint namespace