rsDocInfoRowAllowDisclosure

Checks if the current user is allowed to view the URL of the content item referenced by the current row of a ResultSet.

This function is useful for selectively showing the URLs of a ResultSet generated by a content item query.

Type and Usage

Parameters

The only parameter is the name of a ResultSet whose current row contains information about a content item.

Output

  • Returns TRUE if the user is allowed to view the URL of the content item.

  • Returns FALSE if the user is not allowed view the URL or the ResultSet is empty.

Example

Checks if the user can view the URL of the content item in the current row of resultSet1.

<$rsDocInfoRowAllowDisclosure("resultSet1")$>