mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
several changes to usermanagement and profiles
This commit is contained in:
@@ -30,19 +30,26 @@ using System.Collections.Generic;
|
||||
|
||||
using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Services.Interfaces
|
||||
//namespace OpenSim.Services.Interfaces
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// This maintains the relationship between a UUID and a user name.
|
||||
/// </summary>
|
||||
public interface IUserManagement
|
||||
{
|
||||
UserData GetUserData(UUID id);
|
||||
string GetUserName(UUID uuid);
|
||||
string GetUserHomeURL(UUID uuid);
|
||||
string GetUserHomeURL(UUID uuid, out bool failedWeb);
|
||||
string GetUserUUI(UUID uuid);
|
||||
bool GetUserUUI(UUID userID, out string uui);
|
||||
string GetUserServerURL(UUID uuid, string serverType);
|
||||
string GetUserServerURL(UUID uuid, string serverType, out bool failedWeb);
|
||||
Dictionary<UUID,string> GetUsersNames(string[] ids, UUID scopeID);
|
||||
void UserWebFailed(UUID id);
|
||||
|
||||
/// <summary>
|
||||
/// Get user ID by the given name.
|
||||
@@ -79,7 +86,7 @@ namespace OpenSim.Services.Interfaces
|
||||
/// <param name="uuid"></param>
|
||||
/// <param name="firstName"></param>
|
||||
/// <param name="lastName"></param>
|
||||
void AddUser(UUID uuid, string first, string last, bool isNPC = false);
|
||||
void AddUser(UUID uuid, string first, string last, bool isNPC = false, int expire = 1800000);
|
||||
|
||||
/// <summary>
|
||||
/// Add a user.
|
||||
|
||||
Reference in New Issue
Block a user