diff options
author | Melanie | 2011-10-12 01:43:52 +0100 |
---|---|---|
committer | Melanie | 2011-10-12 01:43:52 +0100 |
commit | ba978d0d771fee7d011a69e99c16de163e66d377 (patch) | |
tree | ccc8a2c716834d805db7808ad8543386c2f3e68e /OpenSim | |
parent | Merge commit 'ca83f99332316fda1c412a5bf2889f9cf5cf3577' into bigmerge (diff) | |
parent | Added back UserAccount that creates random UUID for new account. (diff) | |
download | opensim-SC-ba978d0d771fee7d011a69e99c16de163e66d377.zip opensim-SC-ba978d0d771fee7d011a69e99c16de163e66d377.tar.gz opensim-SC-ba978d0d771fee7d011a69e99c16de163e66d377.tar.bz2 opensim-SC-ba978d0d771fee7d011a69e99c16de163e66d377.tar.xz |
Merge commit '77b8fb0f86cd0342fa7331f04f56c0b5980290c2' into bigmerge
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/Interfaces/IUserAccountService.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs index 7a1ea7d..d132a4d 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; |