30.119. Class RoleData

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

Role object in database

public record RoleData : IEquatable<RoleData>

30.119.1. Inheritance

objectRoleData

30.119.2. Implements

IEquatable<RoleData>

30.119.3. Inherited Members

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

30.119.4. Constructors

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

Role object in database

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

30.119.4.1.1. Parameters

RoleId int

Role Id

RoleName string

Role Name

Permissions string[]

Permissions list, as strings

30.119.5. Properties

30.119.5.1. Permissions

Permissions list, as strings

public string[] Permissions { get; init; }

30.119.5.1.1. Property Value

string[]

30.119.5.2. RoleId

Role Id

public int RoleId { get; init; }

30.119.5.2.1. Property Value

int

30.119.5.3. RoleName

Role Name

public string RoleName { get; init; }

30.119.5.3.1. Property Value

string