Free cookie consent management tool by TermsFeed Policy Generator

source: branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer/User.cs @ 6922

Last change on this file since 6922 was 5257, checked in by mjesner, 14 years ago

#1196

File size: 2.0 KB
RevLine 
[5257]1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21using System;
[4584]22using System.Collections.Generic;
23using System.Linq;
24using System.Text;
25using System.Runtime.Serialization;
26
[5257]27namespace HeuristicLab.Services.Authentication.DataTransfer {
28
[4740]29  [DataContract]
[5257]30  public class User : AuthenticationItem {
[4789]31
[5257]32    public User() {
33      Name = string.Empty;
34      Email = string.Empty;
35      ApplicationId = Guid.Empty;
36      CreateDate = DateTime.Now;
37      LastActivityDate = DateTime.Now;
38      LastLoginDate = DateTime.Now;
39      LastLockoutDate = DateTime.Now;
40      LastPasswordChangeDate = DateTime.Now;
41    }
[4789]42
[4740]43    [DataMember]
[5257]44    public Guid ApplicationId { get; set; }
45
[4740]46    [DataMember]
[5257]47    public string Email { get; set; }
48
[4740]49    [DataMember]
[5257]50    public bool IsApproved { get; set; }
[4964]51
[5257]52    [DataMember]
53    public bool IsLookedOut { get; set; }
[4964]54
[4740]55    [DataMember]
[5257]56    public DateTime CreateDate { get; set; }
57
[4740]58    [DataMember]
[5257]59    public DateTime LastLoginDate { get; set; }
60
[4740]61    [DataMember]
[5257]62    public DateTime LastPasswordChangeDate { get; set; }
63
[4740]64    [DataMember]
[5257]65    public DateTime LastLockoutDate { get; set; }
66
[4740]67    [DataMember]
[5257]68    public DateTime LastActivityDate { get; set; }
[4740]69  }
[4584]70}
Note: See TracBrowser for help on using the repository browser.