Table of Contents

Class LoginLogEntry

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Core.dll

A single authentication event recorded in the login log.

public class LoginLogEntry
Inheritance
LoginLogEntry
Inherited Members

Properties

AuthMethod

Gets or sets the authentication method, when applicable.

public LoginLogAuthMethod? AuthMethod { get; set; }

Property Value

LoginLogAuthMethod?

EventType

Gets or sets the kind of event.

public LoginLogEventType EventType { get; set; }

Property Value

LoginLogEventType

ExternalProviderName

Gets or sets the external provider name for an external login.

public string? ExternalProviderName { get; set; }

Property Value

string

FailedReason

Gets or sets the failure reason for a failed login, when applicable.

public LogOnFailedReason? FailedReason { get; set; }

Property Value

LogOnFailedReason?

Id

Gets the auto-generated identity of the log row.

public int Id { get; }

Property Value

int

IpAddress

Gets or sets the client IP address.

public string? IpAddress { get; set; }

Property Value

string

Origin

Gets or sets where the event originated.

public LoginLogOrigin Origin { get; set; }

Property Value

LoginLogOrigin

SessionId

Gets or sets a correlation id tying a login to its logout.

public string? SessionId { get; set; }

Property Value

string

Success

Gets or sets whether the event succeeded. True for logout, false for lockout.

public bool Success { get; set; }

Property Value

bool

Timestamp

Gets or sets the event timestamp.

public DateTime Timestamp { get; set; }

Property Value

DateTime

UserAgent

Gets or sets the client user agent (truncated to 512 chars on write).

public string? UserAgent { get; set; }

Property Value

string

UserId

Gets or sets the resolved user id, or null for a failed attempt on an unknown user.

public int? UserId { get; set; }

Property Value

int?

Username

Gets or sets the raw login string that was attempted. Never store the password.

public string? Username { get; set; }

Property Value

string
To top