Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/14/10 10:51:43 (14 years ago)
Author:
mjesner
Message:

#1196

Location:
branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer/Application.cs

    r4740 r4789  
    99  [DataContract]
    1010  public class Application : NamedAuthItem {
    11     //[DataMember]
    12     //public string LoweredApplicationName { get; set; }
     11    [DataMember]
     12    public string LoweredApplicationName { get; set; }
    1313    [DataMember]
    1414    public string Description { get; set; }
  • branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer/AuthItem.cs

    r4741 r4789  
    55  [DataContract]
    66  public abstract class AuthItem{
     7
     8
    79    [DataMember]
    810    public System.Guid Id { get; set; }
  • branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer/NamedAuthItem.cs

    r4741 r4789  
    33namespace HeuristicLab.Services.Authentication.DataTransfer {
    44  [DataContract]
    5   public abstract class NamedAuthItem : AuthItem {
     5    public abstract class NamedAuthItem : AuthItem
     6    {
    67    [DataMember]
    78    public string Name { get; set; }
  • branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer/Role.cs

    r4740 r4789  
    99  [DataContract]
    1010  public class Role : NamedAuthItem {
     11
     12      public Role()
     13      {
     14          Name = "";
     15          LoweredRoleName = "";
     16      }
     17
    1118    [DataMember]
    1219    public Guid ApplicationId { get; set; }
    13     //[DataMember]
    14     //public string LoweredRoleName { get; set; }
     20   [DataMember]
     21    public string LoweredRoleName { get; set; }
    1522    [DataMember]
    16     public string Desciption { get; set; }
     23    public string Description { get; set; }
    1724  }
    1825    //[DataContract]
     
    2532    //    [DataMember]
    2633    //    public string RoleName { get; set; }
    27     //    [DataMember]
    28     //    public string LoweredRoleName { get; set; }
     34        //[DataMember]
     35        //public string LoweredRoleName { get; set; }
    2936    //    [DataMember]
    3037    //    public string Description { get; set; }
  • branches/UserManagement/HeuristicLab.Services.Authentication.DataTransfer/User.cs

    r4740 r4789  
    99  [DataContract]
    1010  public class User : NamedAuthItem {
     11
     12      public User()
     13      {
     14          Password = "";
     15          PasswordSalt = "";
     16          Name = "";
     17          CreateDate = DateTime.Now;
     18          LastActivityDate = DateTime.Now;
     19          LastLoginDate = DateTime.Now;
     20          LastLockoutDate = DateTime.Now;
     21          LastPasswordChangeDate = DateTime.Now;
     22      }
     23
    1124    // Member of Membership
    1225    [DataMember]
Note: See TracChangeset for help on using the changeset viewer.