M-Files API 23.11.13135.0
SetPropertiesWithPermissions Method
VaultObjectPropertyOperations Object : SetPropertiesWithPermissions Method
The object version for which the properties are updated.
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 version.
Syntax
Visual Basic
Public Function SetPropertiesWithPermissions( _
   ByVal ObjVer As ObjVer, _
   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.
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