M-Files API 22.6.11519.0
ChangeAutomaticPermissionsToACLEx Method
VaultValueListItemOperations Object : ChangeAutomaticPermissionsToACLEx Method
The ID of the value list item to apply the changes to.
The access control list to be applied.
The name for the automatic permissions.

True if the automatic component can be bypassed by the user.

See CanDeactivate on AutomaticPermissions.

Operation flags.
Description
Changes the automatic permissions for the specified value list item.
Syntax
Visual Basic
Public Sub ChangeAutomaticPermissionsToACLEx( _
   ByVal ObjID As ObjID, _
   ByVal AccessControlList As AccessControlList, _
   ByVal NameForAutomaticPermissions As String, _
   Optional ByVal CanDeactivate As Boolean = True, _
   Optional ByVal AutomaticPermissionsOperationOptions As MFAutomaticPermissionsOperationOptions = MFAutomaticPermissionsOperationOptionsNone _
) 
Parameters
ObjID
The ID of the value list item to apply the changes to.
AccessControlList
The access control list to be applied.
NameForAutomaticPermissions
The name for the automatic permissions.
CanDeactivate

True if the automatic component can be bypassed by the user.

See CanDeactivate on AutomaticPermissions.

AutomaticPermissionsOperationOptions
ValueDescription
MFAutomaticPermissionsOperationOptionsForceActiveThe changed automatic permission components are forced active.
MFAutomaticPermissionsOperationOptionsNoneNone
Operation flags.
Remarks

This method is available only if M-Files API is used in the server interface mode.

The permissions are applied to an object when this value list item is selected on the metadata card of the object.

See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members