diff options
author | Adam Frisby | 2007-06-09 01:27:02 +0000 |
---|---|---|
committer | Adam Frisby | 2007-06-09 01:27:02 +0000 |
commit | 0a600b2dbfc2abbce8e80c9158b9d77cef9ff598 (patch) | |
tree | dc0067cbb1a4cf5a1a1d85eecbbc4cd320dac72c /OpenGridServices/OpenGridServices.UserServer/UserManager.cs | |
parent | * Sugilite user server can now return user profile information by account nam... (diff) | |
download | opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.zip opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.tar.gz opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.tar.bz2 opensim-SC-0a600b2dbfc2abbce8e80c9158b9d77cef9ff598.tar.xz |
* Just for the heck of it - added a UUID based equivilent too.
Diffstat (limited to 'OpenGridServices/OpenGridServices.UserServer/UserManager.cs')
-rw-r--r-- | OpenGridServices/OpenGridServices.UserServer/UserManager.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenGridServices/OpenGridServices.UserServer/UserManager.cs b/OpenGridServices/OpenGridServices.UserServer/UserManager.cs index 773fa71..cde7d59 100644 --- a/OpenGridServices/OpenGridServices.UserServer/UserManager.cs +++ b/OpenGridServices/OpenGridServices.UserServer/UserManager.cs | |||
@@ -706,5 +706,17 @@ namespace OpenGridServices.UserServer | |||
706 | return ProfileToXml(userProfile); | 706 | return ProfileToXml(userProfile); |
707 | } | 707 | } |
708 | 708 | ||
709 | public string RestGetUserMethodUUID(string request, string path, string param) | ||
710 | { | ||
711 | UserProfileData userProfile = getUserProfile(new LLUUID(param)); | ||
712 | |||
713 | if (userProfile == null) | ||
714 | { | ||
715 | return CreateUnknownUserErrorResponse(); | ||
716 | } | ||
717 | |||
718 | return ProfileToXml(userProfile); | ||
719 | } | ||
720 | |||
709 | } | 721 | } |
710 | } | 722 | } |