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.
Applies the user policy.

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

Syntax

C#Copy imageCopy Code
public void ApplyPolicy(
	 context,
	bool acceptAll,
	params string[] allowedGroups
)
Visual Basic (Declaration)Copy imageCopy Code
Public Sub ApplyPolicy ( _
	context As , _
	acceptAll As , _
	ParamArray allowedGroups As () _
)

Parameters

context
IRenderContext
The context.
acceptAll
Boolean
True if the visitor accepts all cookies.
allowedGroups
array<String>[]()
The list of groups to allow.

See Also

Advanced