M-Files API 22.6.11519.0
ChangeAutomaticPermissionsToNamedACLEx Method
VaultValueListItemOperations Object : ChangeAutomaticPermissionsToNamedACLEx Method
The ID of the value list item to apply the changes to.
The named access control list to be applied.

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 ChangeAutomaticPermissionsToNamedACLEx( _
   ByVal ObjID As ObjID, _
   ByVal NamedACL As Long, _
   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.
NamedACL
The named access control list to be applied.
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.
See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members