Class LoginStatusModel
The model representing the status of a logged in member.
Inheritance
System.Object
Namespace: Umbraco.Web.Models
Assembly: Umbraco.Web.dll
Syntax
public class LoginStatusModel
Properties
View SourceThe email of the member
Declaration
[Required]
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsLoggedIn
True, if the member is currently logged in
Declaration
public bool IsLoggedIn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
The name of the member
Declaration
[Required]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Username
The username of the member
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceCreateModel()
Creates a new empty LoginStatusModel.
Declaration
public static LoginStatusModel CreateModel()
Returns
Type | Description |
---|---|
LoginStatusModel |