DocumentBase.DeleteAllEditableRanges Method (Object)
Deletes permissions in all ranges that the specified user or group of users has permission to modify.
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Return to top
The following code example uses the ThisDocument class in a document-level project.method to delete all permissions in all ranges for the current user. To use this example, run it from the