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.
remove-scene-viewer
BlueWall 2011-10-05 22:01:12 -04:00
parent ca83f99332
commit 77b8fb0f86
1 changed files with 11 additions and 0 deletions

View File

@ -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<string, object>();
Created = Util.UnixTimeSinceEpoch();
}
public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
{
PrincipalID = principalID;