mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
add some wiring to have GetUserAccounts for multiple IDs on a single request to grid services. Unfinished, untested
This commit is contained in:
@@ -265,6 +265,19 @@ namespace OpenSim.Services.UserAccountService
|
||||
return MakeUserAccount(d[0]);
|
||||
}
|
||||
|
||||
public List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs, out bool suported)
|
||||
{
|
||||
suported = true;
|
||||
List<UserAccount> accs = new List<UserAccount>();
|
||||
UUID uuid = UUID.Zero;
|
||||
foreach(string id in IDs)
|
||||
{
|
||||
if (UUID.TryParse(id, out uuid) && uuid != UUID.Zero)
|
||||
accs.Add(GetUserAccount(scopeID, uuid));
|
||||
}
|
||||
return accs;
|
||||
}
|
||||
|
||||
public void InvalidateCache(UUID userID)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user