This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the browse access of the current user on the current item.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "Security.ContentAccess.GetBrowseLevel")]
public static int GetBrowseAccess(
	 context
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "Security.ContentAccess.GetBrowseLevel")> _
Public Shared Function GetBrowseAccess ( _
	context As  _
) As Integer

Parameters

context
IRenderContext
The context.

Return Value

The browse level

See Also

Advanced