M-Files API 22.6.11519.0
SetCreationInfoAdmin Method
VaultObjectPropertyOperations Object : SetCreationInfoAdmin Method
The object identification of the target object.
Whether the CreatedBy property should be set.
A lookup value describing the user for the value of the CreatedBy property.
Whether the Created property should be set.
A new timestamp value of the Created property (in UTC).
Description
Sets the creation info of the specified object. Returns the properties of the specified object after modification.
Syntax
Visual Basic
Public Function SetCreationInfoAdmin( _
   ByVal ObjVer As ObjVer, _
   ByVal UpdateCreatedBy As Boolean, _
   ByVal CreatedBy As TypedValue, _
   ByVal UpdateCreated As Boolean, _
   ByVal CreatedUtc As TypedValue _
) As ObjectVersionAndProperties
Parameters
ObjVer
The object identification of the target object.
UpdateCreatedBy
Whether the CreatedBy property should be set.
CreatedBy
A lookup value describing the user for the value of the CreatedBy property.
UpdateCreated
Whether the Created property should be set.
CreatedUtc
A new timestamp value of the Created property (in UTC).
Remarks
This method is available only if M-Files API is used in the server interface mode.
See Also

VaultObjectPropertyOperations Object  | VaultObjectPropertyOperations Members