mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Some modifications to user service. Query by name is implemented now
This commit is contained in:
@@ -46,6 +46,7 @@ namespace OpenSim.Data
|
||||
/// </summary>
|
||||
public interface IUserAccountData
|
||||
{
|
||||
UserAccountData[] Get(string[] fields, string[] values);
|
||||
bool Store(UserAccountData data, UUID principalID, string token);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -189,5 +189,10 @@ namespace OpenSim.Data.MSSQL
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public UserAccountData[] Get(string[] keys, string[] vals)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace OpenSim.Data.MySQL
|
||||
: base(connectionString, realm, "UserAccount")
|
||||
{
|
||||
}
|
||||
|
||||
public bool Store(UserAccountData data, UUID principalID, string token)
|
||||
{
|
||||
return Store(data);
|
||||
|
||||
Reference in New Issue
Block a user