aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces/IUserAccountService.cs
diff options
context:
space:
mode:
authorDan Lake2011-10-06 12:22:15 -0700
committerDan Lake2011-10-06 12:22:15 -0700
commit08f264d096e1dca535a64e683fa5ab5918368085 (patch)
tree0e898f21be0cca8a6249f78e534c9ec3a98528e2 /OpenSim/Services/Interfaces/IUserAccountService.cs
parentRefactor ScenePresence so gets and sets are through properties. Added private... (diff)
parentAdded back UserAccount that creates random UUID for new account. (diff)
downloadopensim-SC_OLD-08f264d096e1dca535a64e683fa5ab5918368085.zip
opensim-SC_OLD-08f264d096e1dca535a64e683fa5ab5918368085.tar.gz
opensim-SC_OLD-08f264d096e1dca535a64e683fa5ab5918368085.tar.bz2
opensim-SC_OLD-08f264d096e1dca535a64e683fa5ab5918368085.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Conflicts: OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim/Services/Interfaces/IUserAccountService.cs')
-rw-r--r--OpenSim/Services/Interfaces/IUserAccountService.cs11
1 files changed, 11 insertions, 0 deletions
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
44 PrincipalID = principalID; 44 PrincipalID = principalID;
45 } 45 }
46 46
47 public UserAccount(UUID scopeID, string firstName, string lastName, string email)
48 {
49 PrincipalID = UUID.Random();
50 ScopeID = scopeID;
51 FirstName = firstName;
52 LastName = lastName;
53 Email = email;
54 ServiceURLs = new Dictionary<string, object>();
55 Created = Util.UnixTimeSinceEpoch();
56 }
57
47 public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email) 58 public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email)
48 { 59 {
49 PrincipalID = principalID; 60 PrincipalID = principalID;