Allow retrival of multiple user records in one operation, analog to presence

This commit is contained in:
Melanie
2012-01-16 02:19:19 +01:00
parent 59a0c50d48
commit e13a17cc0c
7 changed files with 128 additions and 2 deletions

View File

@@ -73,6 +73,16 @@ namespace OpenSim.Services.UserAccountService
return info;
}
public GridUserInfo[] GetGridUserInfo(string[] userIDs)
{
List<GridUserInfo> ret = new List<GridUserInfo>();
foreach (string id in userIDs)
ret.Add(GetGridUserInfo(id));
return ret.ToArray();
}
public GridUserInfo LoggedIn(string userID)
{
m_log.DebugFormat("[GRID USER SERVICE]: User {0} is online", userID);
@@ -156,4 +166,4 @@ namespace OpenSim.Services.UserAccountService
return m_Database.Store(d);
}
}
}
}