From 77b8fb0f86cd0342fa7331f04f56c0b5980290c2 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Wed, 5 Oct 2011 22:01:12 -0400 Subject: Added back UserAccount that creates random UUID for new account. This should fix recent issues with 3rd party apps that use the old interface w/o breaking the new one. --- OpenSim/Services/Interfaces/IUserAccountService.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs index 20414f6..cadf297 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs @@ -44,6 +44,17 @@ namespace OpenSim.Services.Interfaces PrincipalID = principalID; } + public UserAccount(UUID scopeID, string firstName, string lastName, string email) + { + PrincipalID = UUID.Random(); + ScopeID = scopeID; + FirstName = firstName; + LastName = lastName; + Email = email; + ServiceURLs = new Dictionary(); + Created = Util.UnixTimeSinceEpoch(); + } + public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email) { PrincipalID = principalID; -- cgit v1.1