M-Files API 23.11.13135.0
SetWithPermissions Method
SetPropertiesParams Object : SetWithPermissions Method
Description
Sets the contents of this object.
Syntax
Visual Basic
Public Sub SetWithPermissions( _
   ByVal ObjVer As ObjVer, _
   ByVal AllowModifyingCheckedInObject As Boolean, _
   ByVal FailIfNotLatestCheckedInVersion As Boolean, _
   ByVal PropertyValuesToSet As PropertyValues, _
   ByVal FullSet As Boolean, _
   ByVal PropertyValuesToRemove As IDs, _
   Optional ByVal ObjectOperationFlags As MFObjectOperationFlags = MFObjectOperationFlagNone, _
   Optional ByVal AccessControlListEnforcingMode As MFACLEnforcingMode = MFACLEnforcingModeAutomatic, _
   Optional ByVal AccessControlListProvidedForEnforcing As AccessControlList = 0 _
) 
Parameters
ObjVer
AllowModifyingCheckedInObject
FailIfNotLatestCheckedInVersion
PropertyValuesToSet
FullSet
PropertyValuesToRemove
ObjectOperationFlags
ValueDescription
MFObjectOperationFlagChangeACLInAllVersionsThe permissions should be updated for all versions.
MFObjectOperationFlagDisallowNameChangeChanging the object name is not allowed.
MFObjectOperationFlagNoneNone
MFObjectOperationFlagRequireChangeSecurityAccessThe current user must have change security access to the modified object after the operation is completed.
MFObjectOperationFlagRequireEditAccessThe current user must have edit access to the modified object after the operation is completed.
MFObjectOperationFlagRequireFullAccessThe current user must have full access to the modified object after the operation is completed.
MFObjectOperationFlagRequireReadAccessThe current user must have read access to the modified object after the operation is completed.
MFObjectOperationFlagRequireSomeAccessThe current user must have access to the modified object after the operation is completed.
AccessControlListEnforcingMode
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.
AccessControlListProvidedForEnforcing
See Also

SetPropertiesParams Object  | SetPropertiesParams Members