M-Files API 23.11.13135.0
ClearAutomaticPermissions Method
VaultValueListItemOperations Object : ClearAutomaticPermissions Method
The value list to look from.
The ID of the value list item to apply the changes to.
Description
Clears the automatic permissions from the specified value list item. This prevents any permissions from being set to an object as a result of this value list item being selected.
Syntax
Visual Basic
Public Sub ClearAutomaticPermissions( _
   ByVal ValueList As Long, _
   ByVal ValueListItemID As Long _
) 
Parameters
ValueList
The value list to look from.
ValueListItemID
The ID of the value list item to apply the changes to.
Remarks

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

This is an alternative to using AutomaticPermissionsForObject property on ValueListItem.

See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members