diff options
-rw-r--r-- | OpenSim/Services/Interfaces/IUserService.cs | 5 |
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 | } |