Add methods to allow the groups modules to query online status and last login

This commit is contained in:
Melanie
2012-01-16 02:19:19 +01:00
parent 35911d2362
commit d6b9504c84
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);
}
}
}
}