_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)

'Usage
Dim EditorID As Object
Dim _Document1 As _Document
_Document1.DeleteAllEditableRanges(EditorID)

void DeleteAllEditableRanges(
	[In, Optional] ref object EditorID
);
public void DeleteAllEditableRanges(
	/*in*/System.Object EditorID
);
function DeleteAllEditableRanges(
	 EditorID : Object
);

Parameters

EditorID

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.

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen: