Add note to docs

This method is used by externasl/3rd party management tools to
  create users and they depend on us to generate the UUID.
0.7.2-post-fixes
BlueWall 2011-10-07 16:34:33 -04:00 committed by Justin Clark-Casey (justincc)
parent 31d1b3310d
commit 8b374daae9
1 changed files with 17 additions and 0 deletions

View File

@ -44,6 +44,23 @@ namespace OpenSim.Services.Interfaces
PrincipalID = principalID; PrincipalID = principalID;
} }
/// <summary>
/// Initializes a new instance of the <see cref="OpenSim.Services.Interfaces.UserAccount"/> class.
/// This method is used by externasl/3rd party management applications that need us to create a
/// random UUID for the new user.
/// </summary>
/// <param name='scopeID'>
/// Scope I.
/// </param>
/// <param name='firstName'>
/// First name.
/// </param>
/// <param name='lastName'>
/// Last name.
/// </param>
/// <param name='email'>
/// Email.
/// </param>
public UserAccount(UUID scopeID, string firstName, string lastName, string email) public UserAccount(UUID scopeID, string firstName, string lastName, string email)
{ {
PrincipalID = UUID.Random(); PrincipalID = UUID.Random();