aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/Interfaces/IUserService.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserService.cs b/OpenSim/Services/Interfaces/IUserService.cs
index e458178..ecbb344 100644
--- a/OpenSim/Services/Interfaces/IUserService.cs
+++ b/OpenSim/Services/Interfaces/IUserService.cs
@@ -48,6 +48,8 @@ namespace OpenSim.Services.Interfaces
48 public UUID UserID; 48 public UUID UserID;
49 public UUID ScopeID; 49 public UUID ScopeID;
50 50
51 public Dictionary<string, string> ServiceURLs;
52
51 public DateTime Created; 53 public DateTime Created;
52 54
53 public UserAccount(Dictionary<string, object> kvp) 55 public UserAccount(Dictionary<string, object> kvp)
@@ -64,6 +66,17 @@ namespace OpenSim.Services.Interfaces
64 UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID); 66 UUID.TryParse(kvp["ScopeID"].ToString(), out ScopeID);
65 if (kvp.ContainsKey("Created")) 67 if (kvp.ContainsKey("Created"))
66 DateTime.TryParse(kvp["Created"].ToString(), out Created); 68 DateTime.TryParse(kvp["Created"].ToString(), out Created);
69 if (kvp.ContainsKey("ServiceURLs") && kvp["ServiceURLs"] != null)
70 {
71 if (kvp["ServiceURLs"] is Dictionary<string, string>)
72 {
73 ServiceURLs = new Dictionary<string, string>();
74 foreach (KeyValuePair<string, string> urls in (Dictionary<string, string>)kvp["ServiceURLs"])
75 {
76 ServiceURLs.Add(urls.Key, urls.Value);
77 }
78 }
79 }
67 80
68 } 81 }
69 82
@@ -76,6 +89,7 @@ namespace OpenSim.Services.Interfaces
76 result["UserID"] = UserID.ToString(); 89 result["UserID"] = UserID.ToString();
77 result["ScopeID"] = ScopeID.ToString(); 90 result["ScopeID"] = ScopeID.ToString();
78 result["Created"] = Created.ToString(); 91 result["Created"] = Created.ToString();
92 result["ServiceURLs"] = ServiceURLs;
79 93
80 return result; 94 return result;
81 } 95 }