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.
0.7.2-post-fixes
BlueWall 2011-10-05 22:01:12 -04:00 committed by Justin Clark-Casey (justincc)
parent 6fa4f88d39
commit 71fa970990
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;