Permission.RemoveAll Method

Removes all UserPermission objects from the Permission collection of the active document and disables restrictions on the active document.

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

Syntax

'Declaration
Sub RemoveAll
'Usage
Dim instance As Permission

instance.RemoveAll()
void RemoveAll()

Remarks

After calling the RemoveAll method, the Enabled property of the Permission object returns False and the Count property returns 0 (zero).

See Also

Reference

Permission Interface

Permission Members

Microsoft.Office.Core Namespace