aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IUserManagement.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-28 02:51:34 +0100
committerJustin Clark-Casey (justincc)2012-03-28 02:51:34 +0100
commit12d3ea3029854b48b302459226fc88415e78630c (patch)
treed8db7d3b74cf23d8fc6ce999ebeeda6cd4355ce0 /OpenSim/Region/Framework/Interfaces/IUserManagement.cs
parentminor: Add some documentation to OnNewClient and OnClientClosed events (diff)
downloadopensim-SC-12d3ea3029854b48b302459226fc88415e78630c.zip
opensim-SC-12d3ea3029854b48b302459226fc88415e78630c.tar.gz
opensim-SC-12d3ea3029854b48b302459226fc88415e78630c.tar.bz2
opensim-SC-12d3ea3029854b48b302459226fc88415e78630c.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IUserManagement.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IUserManagement.cs b/OpenSim/Region/Framework/Interfaces/IUserManagement.cs
index bfb8369..24cd069 100644
--- a/OpenSim/Region/Framework/Interfaces/IUserManagement.cs
+++ b/OpenSim/Region/Framework/Interfaces/IUserManagement.cs
@@ -16,6 +16,21 @@ namespace OpenSim.Region.Framework.Interfaces
16 string GetUserServerURL(UUID uuid, string serverType); 16 string GetUserServerURL(UUID uuid, string serverType);
17 17
18 /// <summary> 18 /// <summary>
19 /// Get user ID by the given name.
20 /// </summary>
21 /// <param name="name"></param>
22 /// <returns>UUID.Zero if no user with that name is found or if the name is "Unknown User"</returns>
23 UUID GetUserIdByName(string name);
24
25 /// <summary>
26 /// Get user ID by the given name.
27 /// </summary>
28 /// <param name="firstName"></param>
29 /// <param name="lastName"></param>
30 /// <returns>UUID.Zero if no user with that name is found or if the name is "Unknown User"</returns>
31 UUID GetUserIdByName(string firstName, string lastName);
32
33 /// <summary>
19 /// Add a user. 34 /// Add a user.
20 /// </summary> 35 /// </summary>
21 /// <remarks> 36 /// <remarks>