From 18d93c2ceed3d74dfdcd7c482a3db664b5a13e04 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 28 Dec 2009 20:29:52 -0800 Subject: * Added Created field to UserAccountData --- OpenSim/Services/Interfaces/IUserService.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim') 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 public int UserFlags; public string AccountType; + public DateTime Created; + public UserAccount(Dictionary kvp) { if (kvp.ContainsKey("FirstName")) @@ -75,6 +77,8 @@ namespace OpenSim.Services.Interfaces Int32.TryParse(kvp["UserFlags"].ToString(), out UserFlags); if (kvp.ContainsKey("AccountType")) AccountType = kvp["AccountType"].ToString(); + if (kvp.ContainsKey("Created")) + DateTime.TryParse(kvp["Created"].ToString(), out Created); } @@ -89,6 +93,7 @@ namespace OpenSim.Services.Interfaces result["GodLevel"] = GodLevel.ToString(); result["UserFlags"] = UserFlags.ToString(); result["AccountType"] = AccountType.ToString(); + result["Created"] = Created.ToString(); return result; } -- cgit v1.1