Merge commit '77b8fb0f86cd0342fa7331f04f56c0b5980290c2' into bigmerge

avinationmerge
Melanie 2011-10-12 01:43:52 +01:00
commit ba978d0d77
1 changed files with 11 additions and 0 deletions

View File

@ -44,6 +44,17 @@ namespace OpenSim.Services.Interfaces
PrincipalID = principalID; 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) public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
{ {
PrincipalID = principalID; PrincipalID = principalID;