Table of Contents

Class Visitor

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

Describes a Visitor in Oqtane.

public class Visitor
Inheritance
Visitor

Properties

CreatedOn

Date the visitor first visited the site

public DateTime CreatedOn { get; set; }

Property Value

DateTime

IPAddress

Last recorded IP Address of visitor

public string IPAddress { get; set; }

Property Value

string

Language

Last recorded language of visitor

public string Language { get; set; }

Property Value

string

Referrer

Last recorded Referrer of visitor

public string Referrer { get; set; }

Property Value

string

SiteId

Reference to a Site

public int SiteId { get; set; }

Property Value

int

Url

Last recorded Url of visitor

public string Url { get; set; }

Property Value

string

User

Direct reference to the User object (if applicable)

public User User { get; set; }

Property Value

User

UserAgent

Last recorded user agent of visitor

public string UserAgent { get; set; }

Property Value

string

UserId

Reference to a User if applicable

public int? UserId { get; set; }

Property Value

int?

VisitedOn

Date the visitor last visited the site

public DateTime VisitedOn { get; set; }

Property Value

DateTime

VisitorId

ID of this Visitor.

public int VisitorId { get; set; }

Property Value

int

Visits

Number of times a visitor has visited a site

public int Visits { get; set; }

Property Value

int