Permission.RemoveAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all UserPermission objects associated with the form.
public:
void RemoveAll();
public void RemoveAll ();
abstract member RemoveAll : unit -> unit
Public Sub RemoveAll ()
Examples
In the following example, the RemoveAll method is used to remove all users from the form.
_XDocument3 thisDoc = (_XDocument3)thisXDocument;
thisDoc.Permission.RemoveAll();
Dim thisDoc As _XDocument3 = DirectCast(thisXDocument, _XDocument3)
thisDoc.Permission.RemoveAll()