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 cadf297..d132a4d 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs | |||
@@ -74,6 +74,7 @@ namespace OpenSim.Services.Interfaces | |||
74 | public int UserLevel; | 74 | public int UserLevel; |
75 | public int UserFlags; | 75 | public int UserFlags; |
76 | public string UserTitle; | 76 | public string UserTitle; |
77 | public string UserCountry; | ||
77 | 78 | ||
78 | public Dictionary<string, object> ServiceURLs; | 79 | public Dictionary<string, object> ServiceURLs; |
79 | 80 | ||
@@ -102,6 +103,8 @@ namespace OpenSim.Services.Interfaces | |||
102 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); | 103 | UserFlags = Convert.ToInt32(kvp["UserFlags"].ToString()); |
103 | if (kvp.ContainsKey("UserTitle")) | 104 | if (kvp.ContainsKey("UserTitle")) |
104 | UserTitle = kvp["UserTitle"].ToString(); | 105 | UserTitle = kvp["UserTitle"].ToString(); |
106 | if (kvp.ContainsKey("UserCountry")) | ||
107 | UserCountry = kvp["UserCountry"].ToString(); | ||
105 | 108 | ||
106 | if (kvp.ContainsKey("Created")) | 109 | if (kvp.ContainsKey("Created")) |
107 | Created = Convert.ToInt32(kvp["Created"].ToString()); | 110 | Created = Convert.ToInt32(kvp["Created"].ToString()); |
@@ -135,6 +138,7 @@ namespace OpenSim.Services.Interfaces | |||
135 | result["UserLevel"] = UserLevel.ToString(); | 138 | result["UserLevel"] = UserLevel.ToString(); |
136 | result["UserFlags"] = UserFlags.ToString(); | 139 | result["UserFlags"] = UserFlags.ToString(); |
137 | result["UserTitle"] = UserTitle; | 140 | result["UserTitle"] = UserTitle; |
141 | result["UserCountry"] = UserCountry; | ||
138 | 142 | ||
139 | string str = string.Empty; | 143 | string str = string.Empty; |
140 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) | 144 | foreach (KeyValuePair<string, object> kvp in ServiceURLs) |
@@ -161,6 +165,7 @@ namespace OpenSim.Services.Interfaces | |||
161 | /// <param name="query"></param> | 165 | /// <param name="query"></param> |
162 | /// <returns></returns> | 166 | /// <returns></returns> |
163 | List<UserAccount> GetUserAccounts(UUID scopeID, string query); | 167 | List<UserAccount> GetUserAccounts(UUID scopeID, string query); |
168 | List<UserAccount> GetUserAccountsWhere(UUID scopeID, string where); | ||
164 | 169 | ||
165 | /// <summary> | 170 | /// <summary> |
166 | /// Store the data given, wich replaces the stored data, therefore must be complete. | 171 | /// Store the data given, wich replaces the stored data, therefore must be complete. |