21.120. Class RoleData
Namespace: ArmoniK.Core.Common.Auth.Authentication
Assembly: ArmoniK.Core.Common.dll
Role object in database
public record RoleData : IEquatable<RoleData>
21.120.1. Inheritance
21.120.2. Implements
21.120.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.120.4. Constructors
21.120.4.1. RoleData(int, string, string[])
Role object in database
public RoleData(int RoleId, string RoleName, string[] Permissions)
21.120.4.1.1. Parameters
RoleId int
Role Id
RoleName string
Role Name
Permissions string[]
Permissions list, as strings
21.120.5. Properties
21.120.5.1. Permissions
Permissions list, as strings
public string[] Permissions { get; init; }
21.120.5.1.1. Property Value
string[]
21.120.5.2. RoleId
Role Id
public int RoleId { get; init; }
21.120.5.2.1. Property Value
21.120.5.3. RoleName
Role Name
public string RoleName { get; init; }