This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Tests if the current user has at least the given level of content access for the Smartlet.

Namespace: Smartsite.Scf
Assembly:  Smartsite.Scf (in Smartsite.Scf.dll)

Syntax

C#Copy imageCopy Code
[]
public static bool TestAccess(
	 context,
	string accessTypeLevelName
)
Visual Basic (Declaration)Copy imageCopy Code
<> _
Public Shared Function TestAccess ( _
	context As , _
	accessTypeLevelName As  _
) As 

Parameters

context
IRenderContext
The context.
accessTypeLevelName
String
Name of the access type level.

Return Value

See Also

Smartlet Class
Smartsite.Scf Namespace
Advanced