mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
When creating a new user on the comand line, give the option of allowing a UUID to be specified to override the randomly generated one.
This can be useful in some migration cases where recreating user accounts with known IDs will preserve region scene object ownership.
This commit is contained in:
@@ -44,9 +44,9 @@ namespace OpenSim.Services.Interfaces
|
||||
PrincipalID = principalID;
|
||||
}
|
||||
|
||||
public UserAccount(UUID scopeID, string firstName, string lastName, string email)
|
||||
public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
|
||||
{
|
||||
PrincipalID = UUID.Random();
|
||||
PrincipalID = principalID;
|
||||
ScopeID = scopeID;
|
||||
FirstName = firstName;
|
||||
LastName = lastName;
|
||||
|
||||
Reference in New Issue
Block a user