Show / Hide Table of Contents

Class UserInfo

Inheritance
System.Object
UserInfo
Namespace: LymeTemplateApi.Models
Assembly: LymeTemplateApi.Models.dll
Syntax
public class UserInfo : object

Properties

Active

Whether a user is Active. If this value is false, the user will not be able to log into the system.

Declaration
public bool Active { get; set; }
Property Value
Type Description
System.Boolean

DateEntered

The date the record was created.

Declaration
public DateTime DateEntered { get; set; }
Property Value
Type Description
DateTime

EmailAddress

The user's email address. This may seem duplicative, but this is in case for some reason a username is not stored in the form of an email address.

Declaration
public string? EmailAddress { get; set; }
Property Value
Type Description
System.Nullable<System.String>

FirstName

The user's first name.

Declaration
public string? FirstName { get; set; }
Property Value
Type Description
System.Nullable<System.String>

Id

The Primary key

Declaration
public int Id { get; set; }
Property Value
Type Description
System.Int32

LastName

The users's last name.

Declaration
public string? LastName { get; set; }
Property Value
Type Description
System.Nullable<System.String>

LastSeen

The date that the user was last seen.

Declaration
public DateTime? LastSeen { get; set; }
Property Value
Type Description
System.Nullable<DateTime>

NavMenu

Not mapped to the database. The UserInfo controller returns a navigation menu for the user at app startup via this property.

Declaration
public IList<NavMenuItem> NavMenu { get; set; }
Property Value
Type Description
IList<NavMenuItem>

Phone

The user's primary contact phone number.

Declaration
public string? Phone { get; set; }
Property Value
Type Description
System.Nullable<System.String>

ProviderKey

This value maps back to the key in the membership provider used.

Declaration
public string? ProviderKey { get; set; }
Property Value
Type Description
System.Nullable<System.String>

ProviderType

This field only currently stores the value "Local" but the idea is that this field also stores alternate authentication provider values like "Google" or "Facebook" or whatever SSO service you decide you want to use in the future.

Declaration
public string? ProviderType { get; set; }
Property Value
Type Description
System.Nullable<System.String>

Roles

The roles that this user has access to. This field is not mapped and for client use only.

Declaration
public ICollection<string>? Roles { get; set; }
Property Value
Type Description
System.Nullable<ICollection<System.String>>

SessionId

Not mapped to a database field. A guid session id is attached to assist with client state management.

Declaration
public Guid? SessionId { get; set; }
Property Value
Type Description
System.Nullable<Guid>

Username

The username (often coincides with the email address, but sometimes differs)

Declaration
public string? Username { get; set; }
Property Value
Type Description
System.Nullable<System.String>

UserRoles

EF Navigation Property

Declaration
public IList<UserRole>? UserRoles { get; set; }
Property Value
Type Description
System.Nullable<IList<UserRole>>
In This Article
Back to top Generated by DocFX