|
Select the Repository > Application >
Permission and select the permission under which the
script action is to be created. |
|
|
|
|
|
Screen Display |
|
|
|
|
|
|
|
Access the New Script Action using one of the
options below: |
|
|
Right click on the permission and select the
New Script Action (A) from the popup menu. |
|
|
|
Select the permission from the Left
Navigation Panel and select the New Script Action
from the Action menu (B). |
|
|
|
|
|
The Security action creating
wizard screen will be displayed as shown below: |
|
|
|
Screen Display |
|
|
|
|
|
|
|
The above screen displays the objects derived from the
application. |
|
By default the screen will display the list of all forms,pages,
Master pages, classes etc. The secured components will be invisible
to you. Secured types are those that are protected using
VGISecurable interface. |
|
|
|
Visual Guard .Net provides you
Show all types option that will display securable components if
Show all types is selected. |
|
You can expand and select any of the objects to
set the security action as shown below. |
|
|
|
Screen Display |
|
|
|
|
|
|
|
For example In this screen
AddNewUser (A) is selected. |
|
Once objects are selected will be enabled
(B). Click to go to the next step. |
|
|
|
Screen Display |
|
|
|
|
|
|
|
Click to select
any particular event from the object. Click here to know more. |
|
The Condition checkbox (A) will
be disabled in this action. |
|
Click to proceed. The screen below will be displayed. |
|
|
|
Screen Display |
|
|
|
|
|
|
|
You can enter your code here (C). The code
language depend of the language in which the application is
created (c# or VB.Net) |
|
|
|
For example the code entered in the below screen
is MessageBox.Show ("Test"). |
|
|
|
Screen Display |
|
|
|
|
|
|
|
After entering the code click . The security
action will be saved (E) and displayed as shown
below. |
|
|
|
|
|
Screen Display |
|
|
|
|
|
|
|
|
See Also: |
|
|