UserPermission.Parent Property

Returns the parent object for the UserPermission object.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
ReadOnly Property Parent As Object
    Get
'Usage
Dim instance As UserPermission
Dim value As Object

value = instance.Parent
Object Parent { get; }

Property Value

Type: System.Object
The parent object for the UserPermission object.

Remarks

Because the UserPermission object and its members are new to Microsoft InfoPath 2010, you must cast the object returned by the thisXDocument variable to the _XDocument3 type to access this object and its members. For more information, see How to: Use Microsoft.Office.Interop.InfoPath.SemiTrust Members That Are Not Compatible with InfoPath 2003.

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See Also

Reference

UserPermission Interface

UserPermission Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace