UserInfoDateTime Property
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

SPImportSettings.UserInfoDateTime Property

Windows SharePoint Services 3

Gets or sets a value that specifies the level of user information that is retained when content is imported.

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

public SPImportUserInfoDateTimeOption UserInfoDateTime { get; set; }

Following are the allowable values for this property as specified in the SPImportUserInfoDateTimeOption enum; the default falue is None.

  • ImportAll: Retains the original author/editor information, time/date stamp, and user lookup value. 

  • None: (Default) Replaces the author and editor data with the Operator Account; creates a current (time of import) date/time stamp, and replaces user lookup value with an empty string ("").

  • ReplaceUserWithSystemAccount: Retains the original date/time stamp, but replaces the author and editor data with the System Account, and replaces user lookup values with an empty string ("").

NoteNote

If you wish to retain the original source values for the CreatedBy, ModifiedBy, CreateTime, and ModifiedTime columns during import, you must set this property values to ImportAll.

Show:
© 2016 Microsoft