Table of Contents

Class TenantRoleDefinition

Namespace
Tharga.Team
Assembly
Tharga.Team.dll

Defines a tenant role with its associated scopes and an optional human-readable description (shown as a tooltip in the role picker, alongside the scopes the role grants).

public record TenantRoleDefinition : IEquatable<TenantRoleDefinition>
Inheritance
TenantRoleDefinition
Implements
Inherited Members

Constructors

TenantRoleDefinition(string, IReadOnlyList<string>, string)

Defines a tenant role with its associated scopes and an optional human-readable description (shown as a tooltip in the role picker, alongside the scopes the role grants).

public TenantRoleDefinition(string Name, IReadOnlyList<string> Scopes, string Description = null)

Parameters

Name string
Scopes IReadOnlyList<string>
Description string

Properties

Description

public string Description { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

Scopes

public IReadOnlyList<string> Scopes { get; init; }

Property Value

IReadOnlyList<string>