SaaS CMS has officially launched! Learn more now.

Class SecuritySaveType

Describes different ways that access control can be saved

Inheritance
System.Object
SecuritySaveType
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public sealed class SecuritySaveType : Enum

Fields

MergeChildPermissions

Merges permissions on all children (permissions for roles and users are applied without removing existing permissions for other users and roles not being saved)

Declaration
public const SecuritySaveType MergeChildPermissions
Field Value
Type Description
SecuritySaveType
Remarks

The root item is not modified, you need to do a separate call using method Replace change a single item.

This option does not overwrites any items that inherits their permissions.

Modify

Modifies selected rows

Declaration
public const SecuritySaveType Modify
Field Value
Type Description
SecuritySaveType

None

No type defined

Declaration
public const SecuritySaveType None
Field Value
Type Description
SecuritySaveType

RecursiveModify

Recursivly modifies selected rows

Declaration
public const SecuritySaveType RecursiveModify
Field Value
Type Description
SecuritySaveType

RecursiveReplace

Recursivly saves the changed rows and deletes all rows that not been modified

Declaration
public const SecuritySaveType RecursiveReplace
Field Value
Type Description
SecuritySaveType

Replace

Replaces any existing permissions with the new settings

Declaration
public const SecuritySaveType Replace
Field Value
Type Description
SecuritySaveType

ReplaceChildPermissions

Replaces existing permissions on all children to an item (existing permissions will be deleted)

Declaration
public const SecuritySaveType ReplaceChildPermissions
Field Value
Type Description
SecuritySaveType
Remarks

The root item is not modified, you need to do a separate call using method Replace change a single item.

This option also overwrites any items that inherits permissions.

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods