Share via


_XDocument3.Role Property

Gets or sets the user's current role.

Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)

Syntax

'Declaration
'Usage

Property Value

The user's current role.

Example

In the following example, the Role property is used to determine the current user's role.

string currentRole = thisXDocument.Role;

See Also

Reference

_XDocument3 Interface
_XDocument3 Members
Microsoft.Office.Interop.InfoPath Namespace