Show / Hide Table of Contents

Interface IRoleTemplate

Represents a role template.

Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IRoleTemplate

Properties

AddForNewUser

Get or sets if this role should be added for new users

Declaration
bool AddForNewUser { get; set; }
Property Value
Boolean

BuiltIn

Gets or sets if this role is a system role.

Declaration
bool BuiltIn { get; set; }
Property Value
Boolean

Remarks

A system role can't be deleted and must contain at least one user.

Claims

Navigation property for the claims this role template possesses.

Declaration
ICollection<RoleClaimTemplate> Claims { get; }
Property Value
System.Collections.Generic.ICollection<RoleClaimTemplate>

Id

Gets the identity of the role template.

Declaration
Guid Id { get; set; }
Property Value
System.Guid

ModuleId

Gets or sets the identity of the module this role template belongs too.

Declaration
Guid ModuleId { get; set; }
Property Value
System.Guid

Name

Gets or sets the name of the role.

Declaration
string Name { get; set; }
Property Value
String

Back to top Generated by DocFX