PRELIMINARY INFORMATION - SUBJECT TO CHANGE
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,
	bool useCurrentRole
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "Security.ContentAccess.GetBrowseLevel")> _
Public Shared Function GetBrowseAccess ( _
	context As , _
	useCurrentRole As  _
) As Integer

Parameters

context
IRenderContext
The context.
useCurrentRole
Boolean
if set to true take the user's current role into account.

Return Value

The browse level

See Also

Advanced