View Source
  Class UserBasic
  
  The user model used for paging and listing users in the UI
 
  
  
    Inheritance
      System.Object
      
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    [DataContract(Name = "user", Namespace = "")]
public class UserBasic : EntityBasic, INotificationModel
   
  Constructors
  
  
    View Source
  
  UserBasic()
  
  
  Declaration
  
  Properties
  
  
    View Source
  
  Avatars
  Returns a list of different size avatars
 
  
  Declaration
  
    [DataMember(Name = "avatars")]
public string[] Avatars { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String[] | 
         | 
      
    
  
  
    View Source
  
  Culture
  
  
  Declaration
  
    [DataMember(Name = "culture", IsRequired = true)]
public string Culture { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    View Source
  
  Email
  
  
  Declaration
  
    [DataMember(Name = "email", IsRequired = true)]
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
  
    [DataMember(Name = "emailHash")]
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
  
    [DataMember(Name = "isCurrentUser")]
public bool IsCurrentUser { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
    View Source
  
  LastLoginDate
  
  
  Declaration
  
    [DataMember(Name = "lastLoginDate")]
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
  
    [DataMember(Name = "notifications")]
public List<BackOfficeNotification> Notifications { get; }
   
  Property Value
  
  
    View Source
  
  UserGroups
  The list of group aliases assigned to the user
 
  
  Declaration
  
    [DataMember(Name = "userGroups")]
public IEnumerable<UserGroupBasic> UserGroups { get; set; }
   
  Property Value
  
  
    View Source
  
  Username
  
  
  Declaration
  
    [DataMember(Name = "username")]
public string Username { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    View Source
  
  UserState
  
  
  Declaration
  
    [DataMember(Name = "userState")]
public UserState UserState { get; set; }
   
  Property Value