다음을 통해 공유


Document.DeleteAllEditableRanges(Object) Method

Definition

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

public void DeleteAllEditableRanges (ref object EditorID);
abstract member DeleteAllEditableRanges : obj -> unit
Public Sub DeleteAllEditableRanges (Optional ByRef EditorID As Object)

Parameters

EditorID
Object

One of the 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.

Remarks

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

Applies to