About this task
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
Procedure
-
In the Solutions view, expand the
task you want to work with.
-
Double-click the task view portlet
that contains the user interface control you want to work with (for example,
[TaskName]TaskView).
-
In the portlet view editor, click
the user interface control you want to work with.
-
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.
-
Click the
associated with the property definition field. The
Expression Binding dialog box appears.
-
Expand the entry for the [TaskName]TaskView. This listing
displays the available security roles in the format User in Role ([RoleName]).
-
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.
-
Save your changes.
Results
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
IBM webMethods Task Engine User’s Guide.