Changeset 25263

Show
Ignore:
Timestamp:
23.03.2012 14:26:17 (8 years ago)
Author:
sjm84
Message:

Added an email field

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/UserTermInfo.java

    r16869 r25263  
    2020package org.greenstone.gsdl3.util; 
    2121 
    22 public class UserTermInfo{ 
    23     public String username_=null; 
    24     public String password_=null; 
    25     public String groups_=null; 
    26     public String accountstatus_=null; 
    27     public String comment_=null; 
    28      
    29     public String toString(){ 
    30     String result=""; 
    31     result +="<username = "+username_+">"; 
    32     result +="<password = "+password_+">"; 
    33     result +="<groups = "+groups_+">"; 
    34     result +="<enable = "+accountstatus_+">"; 
    35     result +="<comment = "+comment_+">"; 
    36     return result; 
    37     } 
     22public class UserTermInfo 
     23{ 
     24    public String username = null; 
     25    public String password = null; 
     26    public String groups = null; 
     27    public String accountstatus = null; 
     28    public String comment = null; 
     29    public String email = null; 
     30 
     31    public String toString() 
     32    { 
     33        String result = ""; 
     34        result += "<username = " + username + ">"; 
     35        result += "<password = " + password + ">"; 
     36        result += "<groups = " + groups + ">"; 
     37        result += "<enable = " + accountstatus + ">"; 
     38        result += "<comment = " + comment + ">"; 
     39        return result; 
     40    } 
    3841}