Selects 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)
- Type: Object
Can be 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. The default is that only ranges for which all users have permissions are selected.
For information on optional parameters, see Optional Parameters in Office Solutions.
The following code example uses the method to select all ranges that the current user has the right to modify. To use this example, run it from the ThisDocument class in a document-level project.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.