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.
| Visual Basic | 
|---|
| Public Sub ClearAutomaticPermissions( _ ByVal ValueList As Long, _ ByVal ValueListItemID As Long _ ) | 
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.