M-Files API 23.11.13135.0
ChangeAutomaticPermissionsToItemsOwnPermissionsEx Method
VaultValueListItemOperations Object : ChangeAutomaticPermissionsToItemsOwnPermissionsEx Method
The ID of the value list item to apply the changes to.

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

See CanDeactivate on AutomaticPermissions.

Description
Changes the automatic permissions for the specified value list item to match those of its own permissions.
Syntax
Visual Basic
Public Sub ChangeAutomaticPermissionsToItemsOwnPermissionsEx( _
   ByVal ObjID As ObjID, _
   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.
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
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