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... > IsSubAdmin
Checks if the current user has subadministrator rights to at least one administrative application.
Type and Usage
Output
Returns TRUE if the user has subadministrator rights.
Returns FALSE if the user does not have subadministrator rights.
Example
Checks whether the user is logged in and has subadministrator rights before performing a function.
<@dynamichtml subscription_action_script@> function allowSubscription(form) { <$if IsLoggedIn$> <$if IsSubAdmin$> <$else$> … } <@end@>