M-Files API 23.11.13135.0
SetAllPropertiesWithPermissions Method
VaultObjectPropertyOperations Object : SetAllPropertiesWithPermissions Method
The object version for which the properties are updated.
True to allow the modification of the checked in objects.
The new properties for the object version.
The ACL enforcing mode.
ACL provided by the user. Can be NULL if the enforcing mode != eafmProvided.
Description
Sets all the properties and permissions of the specified object.
Syntax
Visual Basic
Public Function SetAllPropertiesWithPermissions( _
   ByVal ObjVer As ObjVer, _
   ByVal AllowModifyingCheckedInObject As Boolean, _
   ByVal PropertyValues As PropertyValues, _
   Optional ByVal ACLEnforcingMode As MFACLEnforcingMode = MFACLEnforcingModeAutomatic, _
   Optional ByVal ACLProvided As AccessControlList = 0 _
) As ObjectVersionAndProperties
Parameters
ObjVer
The object version for which the properties are updated.
AllowModifyingCheckedInObject
True to allow the modification of the checked in objects.
PropertyValues
The new properties for the object version.
ACLEnforcingMode
ValueDescription
MFACLEnforcingModeAutomaticThe ACL previously stored for the object is used as the provided ACL.
MFACLEnforcingModeNoneThe object ACL remains untouched.
MFACLEnforcingModeProvidedThe ACL provided by the caller is used.
MFACLEnforcingModeResetToDefaultThe ACL calculated from the properties is used as the provided ACL.
The ACL enforcing mode.
ACLProvided
ACL provided by the user. Can be NULL if the enforcing mode != eafmProvided.
Remarks
M-Files server will still enforce proper automatic permissions from the property values. ACLProvided can mainly be used to set the custom component and to deactivate some of the automatic permissions.
See Also

VaultObjectPropertyOperations Object  | VaultObjectPropertyOperations Members