Table of Contents

Class PermissionBaseAttribute

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Permission attribute base class.

public abstract class PermissionBaseAttribute : Attribute
Inheritance
object
Attribute
PermissionBaseAttribute
Derived
Extension Methods

Constructors

PermissionBaseAttribute(string, string)

Initializes an instance of PermissionBaseAttribute class.

public PermissionBaseAttribute(string name, string displayName = null)

Parameters

name string

Permission name.

displayName string

Display name.

Remarks

name can be set based on system default permissions defined in SystemPermissions.

Properties

DisplayName

The display name for the permission.

public string DisplayName { get; }

Property Value

string

Name

Permission name.

public string Name { get; }

Property Value

string