_Document.DeleteAllEditableRanges Method
Deletes permissions in all ranges for which the specified user or group of users has permission to modify.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub DeleteAllEditableRanges ( _
ByRef EditorID As Object _
)
'Usage
Dim instance As _Document
Dim EditorID As Object
instance.DeleteAllEditableRanges(EditorID)
void DeleteAllEditableRanges(
ref Object EditorID
)
Parameters
- EditorID
Type: System.Object%
Optional Object. Can be either a String that represents the user's e-mail alias (if in the same domain), an e-mail address, or a WdEditorType constant that represents a group of users. If omitted, no permissions are deleted from a document.
Remarks
You can also use the DeleteAll method for the Editor object to delete permissions in all ranges for which a specified user or group of users has permission to modify.