aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/IUserServiceAdmin.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-28 16:04:01 +0000
committerJustin Clarke Casey2008-11-28 16:04:01 +0000
commit18974b77668553a9fd1bba0b646bfc7a0d788bcb (patch)
treec144c255e2057a42a0a54a42d50b892e4fafb739 /OpenSim/Framework/Communications/IUserServiceAdmin.cs
parent* refactor: move ResetUserPassword into UserServiceAdmin (diff)
downloadopensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.zip
opensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.tar.gz
opensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.tar.bz2
opensim-SC-18974b77668553a9fd1bba0b646bfc7a0d788bcb.tar.xz
* refactor: rename UserServiceAdmin to UserAdminService
Diffstat (limited to 'OpenSim/Framework/Communications/IUserServiceAdmin.cs')
-rw-r--r--OpenSim/Framework/Communications/IUserServiceAdmin.cs68
1 files changed, 0 insertions, 68 deletions
diff --git a/OpenSim/Framework/Communications/IUserServiceAdmin.cs b/OpenSim/Framework/Communications/IUserServiceAdmin.cs
deleted file mode 100644
index b1f974b..0000000
--- a/OpenSim/Framework/Communications/IUserServiceAdmin.cs
+++ /dev/null
@@ -1,68 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSim Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28using OpenMetaverse;
29
30namespace OpenSim.Framework.Communications
31{
32 public interface IUserServiceAdmin
33 {
34 /// <summary>
35 /// Add a new user
36 /// </summary>
37 /// <param name="firstName">The first name</param>
38 /// <param name="lastName">The last name</param>
39 /// <param name="pass">password of avatar</param>
40 /// <param name="email">email of user</param>
41 /// <param name="regX">region X</param>
42 /// <param name="regY">region Y</param>
43 /// <returns>The UUID of the created user profile. On failure, returns UUID.Zero</returns>
44 UUID AddUser(string firstName, string lastName, string pass, string email, uint regX, uint regY);
45
46 /// <summary>
47 /// Add a new user with a specified UUID. SHOULD ONLY BE USED in very special circumstances from modules!
48 /// </summary>
49 /// <param name="firstName">The first name</param>
50 /// <param name="lastName">The last name</param>
51 /// <param name="pass">password of avatar</param>
52 /// <param name="email">email of user</param>
53 /// <param name="regX">region X</param>
54 /// <param name="regY">region Y</param>
55 /// <param name="setUUID">The set UUID</param>
56 /// <returns>The UUID of the created user profile. On failure, returns UUID.Zero</returns>
57 UUID AddUser(string firstName, string lastName, string pass, string email, uint regX, uint regY, UUID setUUID);
58
59 /// <summary>
60 /// Reset a user password
61 /// </summary>
62 /// <param name="firstName"></param>
63 /// <param name="lastName"></param>
64 /// <param name="newPassword"></param>
65 /// <returns>true if the update was successful, false otherwise</returns>
66 bool ResetUserPassword(string firstName, string lastName, string newPassword);
67 }
68}