Show / Hide Table of Contents

Class PermissionAttribute

Custom Attribute to authorize access to an endpoint based on User Permissions.

Inheritance
System.Object
PermissionAttribute
Namespace: Celerik.NetCore.Web
Assembly: cs.temp.dll.dll
Syntax
public class PermissionAttribute : TypeFilterAttribute

Constructors

PermissionAttribute(String[])

Initializes a new instance of the class.

Declaration
public PermissionAttribute(params string[] permissions)
Parameters
Type Name Description
System.String[] permissions

List of permissions that grant access to the endpoint. E.g.: "AddUser".

In This Article
Back to top Generated by DocFX