using System;
namespace Xylem.Common.Cryptology.Security
{
///
/// Collection of user information for DB.
///
public class UserInformation
{
///
/// Ctor with user Id.
///
public UserInformation(Int32 id)
{
Id = id;
}
///
/// Ctor.
///
public UserInformation()
{
}
///
/// Used to keep the selection information on e.g. data tables stuck at the user.
///
public Boolean IsSelected;
///
/// Identification number of user used for DB assignment of hash and HwId.
///
public Int32 Id;
///
/// Readable name of user.
///
public String FullName;
///
/// Domain where user is registered.
///
public String Domain;
///
/// Login name of user.
///
public String LogInName;
///
/// User password hash.
///
public String PasswordHash;
///
/// Hardware identification.
///
public String HardwareId;
///
/// Date of user registration.
///
public DateTimeOffset RegisterDate;
///
/// Validation data.
///
public DateTimeOffset ValidDate;
///
/// All new users must be manually validated to active.
///
public Boolean AccountActive;
}
}