Table of Contents

Class UIPermissionAttribute

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

Assigns permission to an application class. Multiple permissions per class are allowed.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class UIPermissionAttribute : PermissionBaseAttribute
Inheritance
object
Attribute
UIPermissionAttribute
Inherited Members
Extension Methods

Constructors

UIPermissionAttribute(string, string)

Initializes an instance of UIPermissionAttribute class.

public UIPermissionAttribute(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.