Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Core Content Server Variabl... > userHasGroupPrivilege
This function returns TRUE if the user has the specified privilege to the specified group. The privilege is a one-character representation of the access level, as follows:
R: Read
W: Write
D: Delete
A: Administration
Type and Usage
Parameters
Takes two parameters:
The security group to be checked.
The access level to be checked.
Output
Returns TRUE if the current user does have the specified access.
Returns FALSE if the user does not have the specified access.
Example
Evaluates whether the user has the specified role:
<$userHasGroupPrivilege("Public", "R")$> <$userHasGroupPrivilege("Secure", "A")$>