Add render script with a required access

Namespace:  EPiServer
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public void AddRenderScript(
	string script,
	bool preMenuItems,
	AccessLevel access
)

Parameters

script
Type: System..::.String
String containing javascript
preMenuItems
Type: System..::.Boolean
Decides whether the script is rendered before (true) or after (false) menu items
access
Type: EPiServer.Security..::.AccessLevel
Required access

See Also