mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Add "friends show cache <first-name> <last-name>" command for debugging purposes.
This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
This commit is contained in:
@@ -15,6 +15,21 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
string GetUserUUI(UUID uuid);
|
||||
string GetUserServerURL(UUID uuid, string serverType);
|
||||
|
||||
/// <summary>
|
||||
/// Get user ID by the given name.
|
||||
/// </summary>
|
||||
/// <param name="name"></param>
|
||||
/// <returns>UUID.Zero if no user with that name is found or if the name is "Unknown User"</returns>
|
||||
UUID GetUserIdByName(string name);
|
||||
|
||||
/// <summary>
|
||||
/// Get user ID by the given name.
|
||||
/// </summary>
|
||||
/// <param name="firstName"></param>
|
||||
/// <param name="lastName"></param>
|
||||
/// <returns>UUID.Zero if no user with that name is found or if the name is "Unknown User"</returns>
|
||||
UUID GetUserIdByName(string firstName, string lastName);
|
||||
|
||||
/// <summary>
|
||||
/// Add a user.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user