Share via


UserPermission.Remove Method

Removes the specified UserPermission object from the Permission collection of the active document.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub Remove
'Usage
Dim instance As UserPermission

instance.Remove()
void Remove()

Remarks

The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date. The Remove method removes the user and the set of user permissions determined by the specified UserPermission object.

See Also

Reference

UserPermission Interface

UserPermission Members

Microsoft.Office.Core Namespace