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.
remove-scene-viewer
BlueWall 2011-10-07 16:34:33 -04:00
parent 4b46b7a5ad
commit a9b3ab0c85
1 changed files with 17 additions and 0 deletions

View File

@ -44,6 +44,23 @@ namespace OpenSim.Services.Interfaces
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)
{
PrincipalID = UUID.Random();