Table of Contents

Class CurrentUser_RenderModel

Namespace
Raytha.Application.Common.Models.RenderModels
Assembly
Raytha.Application.dll
public record CurrentUser_RenderModel : IInsertTemplateVariable, IEquatable<CurrentUser_RenderModel>
Inheritance
CurrentUser_RenderModel
Implements
Inherited Members

Properties

AuthenticationScheme

public string AuthenticationScheme { get; init; }

Property Value

string

EmailAddress

public string EmailAddress { get; init; }

Property Value

string

FirstName

public string FirstName { get; init; }

Property Value

string

FullName

public string FullName { get; }

Property Value

string

IsAdmin

public bool IsAdmin { get; init; }

Property Value

bool

IsAuthenticated

public bool IsAuthenticated { get; init; }

Property Value

bool

LastModificationTime

public DateTime? LastModificationTime { get; init; }

Property Value

DateTime?

LastName

public string LastName { get; init; }

Property Value

string

RemoteIpAddress

public string RemoteIpAddress { get; init; }

Property Value

string

Roles

public string[] Roles { get; init; }

Property Value

string[]

SsoId

public string SsoId { get; init; }

Property Value

string

UserGroups

public string[] UserGroups { get; init; }

Property Value

string[]

UserId

public string UserId { get; init; }

Property Value

string

Methods

GetDeveloperNames()

public IEnumerable<string> GetDeveloperNames()

Returns

IEnumerable<string>

GetProjection(ICurrentUser)

public static CurrentUser_RenderModel GetProjection(ICurrentUser entity)

Parameters

entity ICurrentUser

Returns

CurrentUser_RenderModel

GetTemplateVariables()

public IEnumerable<KeyValuePair<string, string>> GetTemplateVariables()

Returns

IEnumerable<KeyValuePair<string, string>>

GetTemplateVariablesAsForEachLiquidSyntax()

public string GetTemplateVariablesAsForEachLiquidSyntax()

Returns

string