Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserBasic

    The user model used for paging and listing users in the UI

    Inheritance
    System.Object
    EntityBasic
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserBasic : EntityBasic, INotificationModel

    Constructors

    View Source

    UserBasic()

    Declaration
    public UserBasic()

    Properties

    View Source

    Avatars

    Returns a list of different size avatars

    Declaration
    public string[] Avatars { get; set; }
    Property Value
    Type Description
    System.String[]
    View Source

    Culture

    Declaration
    public string Culture { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    Email

    Declaration
    public string Email { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    EmailHash

    The MD5 lowercase hash of the email which can be used by gravatar

    Declaration
    public string EmailHash { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    IsCurrentUser

    This is an info flag to denote if this object is the equivalent of the currently logged in user

    Declaration
    public bool IsCurrentUser { get; set; }
    Property Value
    Type Description
    System.Boolean
    View Source

    LastLoginDate

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

    Notifications

    This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes.

    Declaration
    public List<BackOfficeNotification> Notifications { get; }
    Property Value
    Type Description
    List<BackOfficeNotification>
    View Source

    UserGroups

    The list of group aliases assigned to the user

    Declaration
    public IEnumerable<UserGroupBasic> UserGroups { get; set; }
    Property Value
    Type Description
    IEnumerable<UserGroupBasic>
    View Source

    Username

    Declaration
    public string Username { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    UserState

    Declaration
    public UserState UserState { get; set; }
    Property Value
    Type Description
    UserState
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UserBasic()
    • Properties
      • Avatars
      • Culture
      • Email
      • EmailHash
      • IsCurrentUser
      • LastLoginDate
      • Notifications
      • UserGroups
      • Username
      • UserState
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX