Table of Contents

Class LogOnResult

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Core.dll
public sealed class LogOnResult
Inheritance
LogOnResult
Inherited Members

Constructors

LogOnResult()

public LogOnResult()

Properties

Current

public static LogOnResult? Current { get; set; }

Property Value

LogOnResult

FailedReason

Gets or sets the reason why the login failed.

public LogOnFailedReason FailedReason { get; init; }

Property Value

LogOnFailedReason

An LogOnFailedReason representation of the reason for the failed logon.

Password

Gets or sets the password used for authentication.

public string? Password { get; init; }

Property Value

string

Success

Gets success state.

public bool Success { get; init; }

Property Value

bool

true if logon is succesful; otherwise false.

User

Gets or sets the user associated with the provided username/password, if found.

public User? User { get; init; }

Property Value

User

Username

Gets or sets the username used for authentication.

public string? Username { get; init; }

Property Value

string
To top