Binding a Security Role to a User Interface Control
Before you carry out this procedure, you must first create a security role and link it with a functional privilege. For more information, see
Adding a Security Role for Binding
a Task Privilege to a User Interface Control.
To bind a security roles role to a user interface control
1. In the Solutions view, expand the task you want to work with.
2. Double-click the task view portlet that contains the user interface control you want to work with (for example, [TaskName]TaskView).
3. In the portlet view editor, click the user interface control you want to work with.
4. In the Properties view, locate the appropriate property value that you want the binding to apply to. For example, if you want to make information available for modification to some users, and read-only to other users, you would work with the Read Only property (assuming it exists in the control). Click in the Properties view toolbar to show or hide all available properties. 5. Click the associated with the property definition field. The Expression Binding dialog box appears. 6. Expand the entry for the [TaskName]TaskView. This listing displays the available security roles in the format User in Role ([RoleName]).
7. Click the security role you want to bind to the control and click OK.
Note:
The OK button will not be enabled if the property field does not support the use of a security role.
8. Save your changes.
You now have the capability of assigning the bound functional privilege to a My webMethodsuser role during run time. For more information about working with user roles in My webMethods, see the PDF publication webMethods Task Engine User’s Guide.
Related Topics