Table of Contents

Class ClaimsRole<T>

Namespace
The.Security
Assembly
Instagile.dll
public record ClaimsRole<T> : IEquatable<ClaimsRole<T>> where T : Enum

Type Parameters

T
Inheritance
ClaimsRole<T>
Implements
Inherited Members

Constructors

ClaimsRole(T, string, PermissionSet)

public ClaimsRole(T Name, string Description, PermissionSet Permissions)

Parameters

Name T

The name of the role, which can be checked with HasRole(string).

Description string

The user-visible role description, presented on security screens

Permissions PermissionSet

ORM-level access granted by the role.

Properties

Description

The user-visible role description, presented on security screens

public string Description { get; init; }

Property Value

string

Name

The name of the role, which can be checked with HasRole(string).

public T Name { get; init; }

Property Value

T

Permissions

ORM-level access granted by the role.

public PermissionSet Permissions { get; init; }

Property Value

PermissionSet