22.116. Class RoleData

Namespace: ArmoniK.Core.Common.Auth.Authentication
Assembly: ArmoniK.Core.Common.dll

Role object in database

public record RoleData : IEquatable<RoleData>

22.116.1. Inheritance

objectRoleData

22.116.2. Implements

IEquatable<RoleData>

22.116.3. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

22.116.4. Constructors

22.116.4.1. RoleData(int, string, string[])

Role object in database

public RoleData(int RoleId, string RoleName, string[] Permissions)

22.116.4.1.1. Parameters

RoleId int

Role Id

RoleName string

Role Name

Permissions string[]

Permissions list, as strings

22.116.5. Properties

22.116.5.1. Permissions

Permissions list, as strings

public string[] Permissions { get; init; }

22.116.5.1.1. Property Value

string[]

22.116.5.2. RoleId

Role Id

public int RoleId { get; init; }

22.116.5.2.1. Property Value

int

22.116.5.3. RoleName

Role Name

public string RoleName { get; init; }

22.116.5.3.1. Property Value

string