Class TenantRoleDefinition
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
NamestringScopesIReadOnlyList<string>Descriptionstring
Properties
Description
public string Description { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Scopes
public IReadOnlyList<string> Scopes { get; init; }