diff options
author | Justin Clarke Casey | 2007-12-15 21:58:07 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-15 21:58:07 +0000 |
commit | 019d6626068920283b700440e780c86c162ca7c6 (patch) | |
tree | 7c0a9ec1ca185257cee0463a73feef882be23878 /OpenSim/Framework/IUserData.cs | |
parent | more dorking around with exporter. Still far (diff) | |
download | opensim-SC_OLD-019d6626068920283b700440e780c86c162ca7c6.zip opensim-SC_OLD-019d6626068920283b700440e780c86c162ca7c6.tar.gz opensim-SC_OLD-019d6626068920283b700440e780c86c162ca7c6.tar.bz2 opensim-SC_OLD-019d6626068920283b700440e780c86c162ca7c6.tar.xz |
Put out a more comprehensible message when user authentication fails than the current NullReferenceException based one
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IUserData.cs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs index a32bf6c..0679a68 100644 --- a/OpenSim/Framework/IUserData.cs +++ b/OpenSim/Framework/IUserData.cs | |||
@@ -38,18 +38,11 @@ namespace OpenSim.Framework | |||
38 | /// <summary> | 38 | /// <summary> |
39 | /// Returns a user profile from a database via their UUID | 39 | /// Returns a user profile from a database via their UUID |
40 | /// </summary> | 40 | /// </summary> |
41 | /// <param name="user">The accounts UUID</param> | 41 | /// <param name="user">The user's UUID</param> |
42 | /// <returns>The user data profile</returns> | 42 | /// <returns>The user data profile. Returns null if no user is found</returns> |
43 | UserProfileData GetUserByUUID(LLUUID user); | 43 | UserProfileData GetUserByUUID(LLUUID user); |
44 | 44 | ||
45 | /// <summary> | 45 | /// <summary> |
46 | /// Returns a users profile by searching their username | ||
47 | /// </summary> | ||
48 | /// <param name="name">The users username</param> | ||
49 | /// <returns>The user data profile</returns> | ||
50 | UserProfileData GetUserByName(string name); | ||
51 | |||
52 | /// <summary> | ||
53 | /// Returns a users profile by searching their username parts | 46 | /// Returns a users profile by searching their username parts |
54 | /// </summary> | 47 | /// </summary> |
55 | /// <param name="fname">Account firstname</param> | 48 | /// <param name="fname">Account firstname</param> |