membership Element
Associates a user or group of users with a role.
Type
|
Child Elements
Element | Description |
---|---|
getUserNameFromData | Allows user names to be determined by an XPath query into the data in the main data source or a secondary data source and to be associated with a role. |
userName | Defines a user to a particular role. |
group | Defines which group a user belongs to. |
Attributes
None.
Definition
|
Remarks
InfoPath associates a role with the current user based on the membership order in the form definition file (.xsf). Developers can modify this order by hand in the form definition file. The membership element must be a child of the roles element.
Example
The following is an example of the membership element:
|