diff options
Diffstat (limited to 'OpenSim/Services/Interfaces/IUserAccountService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IUserAccountService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs index 6cc8eb8..d0fddee 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs | |||
@@ -91,6 +91,7 @@ namespace OpenSim.Services.Interfaces | |||
91 | public int UserLevel; | 91 | public int UserLevel; |
92 | public int UserFlags; | 92 | public int UserFlags; |
93 | public string UserTitle; | 93 | public string UserTitle; |
94 | public string UserCountry; | ||
94 | 95 | ||
95 | public Dictionary<string, object> ServiceURLs; | 96 | public Dictionary<string, object> ServiceURLs; |
96 | 97 | ||
@@ -119,6 +120,8 @@ namespace OpenSim.Services.Interfaces | |||
119 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); | 120 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); |
120 | if (kvp.ContainsKey("UserTitle")) | 121 | if (kvp.ContainsKey("UserTitle")) |
121 | UserTitle = kvp["UserTitle"].ToString(); | 122 | UserTitle = kvp["UserTitle"].ToString(); |
123 | if (kvp.ContainsKey("UserCountry")) | ||
124 | UserCountry = kvp["UserCountry"].ToString(); | ||
122 | 125 | ||
123 | if (kvp.ContainsKey("Created")) | 126 | if (kvp.ContainsKey("Created")) |
124 | Created = Convert.ToInt32(kvp["Created"].ToString()); | 127 | Created = Convert.ToInt32(kvp["Created"].ToString()); |
@@ -152,6 +155,7 @@ namespace OpenSim.Services.Interfaces | |||
152 | result["UserLevel"] = UserLevel.ToString(); | 155 | result["UserLevel"] = UserLevel.ToString(); |
153 | result["UserFlags"] = UserFlags.ToString(); | 156 | result["UserFlags"] = UserFlags.ToString(); |
154 | result["UserTitle"] = UserTitle; | 157 | result["UserTitle"] = UserTitle; |
158 | result["UserCountry"] = UserCountry; | ||
155 | 159 | ||
156 | string str = string.Empty; | 160 | string str = string.Empty; |
157 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) | 161 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) |
@@ -178,6 +182,7 @@ namespace OpenSim.Services.Interfaces | |||
178 | /// <param name="query"></param> | 182 | /// <param name="query"></param> |
179 | /// <returns></returns> | 183 | /// <returns></returns> |
180 | List<UserAccount> GetUserAccounts(UUID scopeID, string query); | 184 | List<UserAccount> GetUserAccounts(UUID scopeID, string query); |
185 | List<UserAccount> GetUserAccountsWhere(UUID scopeID, string where); | ||
181 | 186 | ||
182 | /// <summary> | 187 | /// <summary> |
183 | /// Store the data given, wich replaces the stored data, therefore must be complete. | 188 | /// Store the data given, wich replaces the stored data, therefore must be complete. |