Save page to database and specify required access level manually.

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

Syntax

C#
PageReference Save(
	PageData page,
	SaveAction action
)

Parameters

page
Type: EPiServer.Core..::.PageData
A initalized PageData object containing data to be saved
action
Type: EPiServer.DataAccess..::.SaveAction
Action that will be performed

Remarks

If PageLink is empty a new page will be created

Exceptions

ExceptionCondition
EPiServer.Core..::.AccessDeniedExceptionThrown when user doesnt have enough access right to perform this action

See Also