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")$>