role Element
Defines role.
Type
|
Child Elements
None.
Attributes
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
name |
|
Yes | Used to identify the role. | Same restriction as xdViewName. |
|
Definition
|
Remarks
Each time a role is created for a form, a corresponding role element is created in the form definition file (.xsf). You can assign users to roles by using user names, groups, and XPath user names. Users can be selected for roles in one of four ways:
- Initiator—role for new documents.
- User name—NT domain users (intranet or trusted only).
- XPath user name—user names stored in XML data (intranet or trusted only).
- Group—Active Directory directory service groups (intranet or trusted only).
InfoPath makes the user assignment by following the membership order in the form definition file.
Example
The following is an example of the role element:
|