|
Security()
Determines whether a user has the required
security access level.
Syntax
Security(<nLevel>, [<lShow>]) -->
lAllowed
Arguments
<nLevel> --> is the security access
level required. This must be a number between the range 0 - 9.
<lShow> --> is an optional parameter
that will display the message "security access denied" if the
required security level was not met.
Returns
Returns a logical TRUE or FALSE value, depending
on whether the required security access level has been met.
Description
This function is used to deny access to an
operation below a specified security access level. Security level 0
is the lowest and level 9 is the highest. The function can be used
to prevent a script operation from occurring unless a user has
logged in with the appropriate password.
Example
If .Not.
Security(9)
Return
Endif
* Continue...
____________________________
Related Topics
Business
Function List
UserName()
UserNumber()
|