_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
Property Role As String
Get
Set
'Usage
Dim instance As _XDocument3
Dim value As String
value = instance.Role
instance.Role = value
string Role { get; set; }
Property Value
Type: System.String
The user's current role.
Implements
Examples
In the following example, the Role property is used to determine the current user's role.
string currentRole = thisXDocument.Role;