Gets the browse access of the current user on the current item.

Syntax

Smartsite SXML CopyCode image Copy Code
integer security.contentaccess.getbrowselevel()
integer security.contentaccess.getbrowselevel(boolean useCurrentRole)

Parameters

Name Data Type Description
useCurrentRole Boolean If set to true take the user's current role into account.

Return Value

Data Type Description
Integer The browse level

Expand image Example

SXML