mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Add methods to allow the groups modules to query online status and last login
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user