Document.DeleteAllEditableRanges Method (Object)

 

Deletes permissions in all ranges that the specified user or group of users has permission to modify.

Namespace:   Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

void DeleteAllEditableRanges(
	ref object EditorID
)

Parameters

EditorID
Type: System.Object

One of the T:Microsoft.Office.Interop.Word.WdEditorType values that represents a group of users, or a user's e-mail alias (if in the same domain), or an e-mail address. If omitted, no permissions are deleted from the document.

You can also use the M:Microsoft.Office.Interop.Word.Editor.DeleteAll method of the T:Microsoft.Office.Interop.Word.Editor object to delete permissions in all ranges that a specified user or group of users has permission to modify.

Return to top
Show: