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... > docUrlAllowDisclosure
Evaluates whether a URL can be disclosed to the current user.
Type and Usage
Parameters
The only parameter is an absolute path, such as the following:
http://mycomputer/domain/groups/.../documents/mydoc.pdf
A full relative path can be used, such as the following:
/oracle/domain/.../documents/mydoc.pdf
).
Output
Returns a Boolean value.
Returns TRUE if the URL can be disclosed.
Returns FALSE if the URL is restricted.
Example
Determines if the user can view the URL of the mydoc.pdf document.
<$docUrlAllowDisclosure("/domain/groups/documents/mydoc.pdf")$>