aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IUserService.cs
diff options
context:
space:
mode:
authorDiva Canto2009-12-28 20:29:52 -0800
committerDiva Canto2009-12-28 20:29:52 -0800
commit18d93c2ceed3d74dfdcd7c482a3db664b5a13e04 (patch)
treea47ab1f6402f9d393da1d4a17099f59d82b394d9 /OpenSim/Services/Interfaces/IUserService.cs
parent* Added packing/unpacking of the Home fields in PresenceInfo (diff)
downloadopensim-SC-18d93c2ceed3d74dfdcd7c482a3db664b5a13e04.zip
opensim-SC-18d93c2ceed3d74dfdcd7c482a3db664b5a13e04.tar.gz
opensim-SC-18d93c2ceed3d74dfdcd7c482a3db664b5a13e04.tar.bz2
opensim-SC-18d93c2ceed3d74dfdcd7c482a3db664b5a13e04.tar.xz
* Added Created field to UserAccountData
Diffstat (limited to 'OpenSim/Services/Interfaces/IUserService.cs')
-rw-r--r--OpenSim/Services/Interfaces/IUserService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserService.cs b/OpenSim/Services/Interfaces/IUserService.cs
index 02d5459..6742758 100644
--- a/OpenSim/Services/Interfaces/IUserService.cs
+++ b/OpenSim/Services/Interfaces/IUserService.cs
@@ -57,6 +57,8 @@ namespace OpenSim.Services.Interfaces
57 public int UserFlags; 57 public int UserFlags;
58 public string AccountType; 58 public string AccountType;
59 59
60 public DateTime Created;
61
60 public UserAccount(Dictionary<string, object> kvp) 62 public UserAccount(Dictionary<string, object> kvp)
61 { 63 {
62 if (kvp.ContainsKey("FirstName")) 64 if (kvp.ContainsKey("FirstName"))
@@ -75,6 +77,8 @@ namespace OpenSim.Services.Interfaces
75 Int32.TryParse(kvp["UserFlags"].ToString(), out UserFlags); 77 Int32.TryParse(kvp["UserFlags"].ToString(), out UserFlags);
76 if (kvp.ContainsKey("AccountType")) 78 if (kvp.ContainsKey("AccountType"))
77 AccountType = kvp["AccountType"].ToString(); 79 AccountType = kvp["AccountType"].ToString();
80 if (kvp.ContainsKey("Created"))
81 DateTime.TryParse(kvp["Created"].ToString(), out Created);
78 82
79 } 83 }
80 84
@@ -89,6 +93,7 @@ namespace OpenSim.Services.Interfaces
89 result["GodLevel"] = GodLevel.ToString(); 93 result["GodLevel"] = GodLevel.ToString();
90 result["UserFlags"] = UserFlags.ToString(); 94 result["UserFlags"] = UserFlags.ToString();
91 result["AccountType"] = AccountType.ToString(); 95 result["AccountType"] = AccountType.ToString();
96 result["Created"] = Created.ToString();
92 97
93 return result; 98 return result;
94 } 99 }