#region namespace
using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Security;
using umbraco.BusinessLogic;
using System.Data;
#endregion
namespace umbraco.providers
{
///
/// Wrapper for the umbraco.BusinessLogic.User class.
///
public class UsersMembershipUser : MembershipUser
{
#region Fields and Properties
private string _FullName;
///
/// Gets or sets the full name.
///
/// The full name.
public string FullName
{
get { return _FullName; }
set { _FullName = value; }
}
private string _Language;
///
/// Gets or sets the language.
///
/// The language.
public string Language
{
get { return _Language; }
set { _Language = value; }
}
private UserType _UserType;
///
/// Gets or sets the type of the user.
///
/// The type of the user.
public UserType UserType
{
get { return _UserType; }
set { _UserType = value; }
}
#endregion
#region Constructors
///
/// Initializes a new instance of the class.
///
protected UsersMembershipUser()
{
}
///
/// Initializes a new instance of the class.
///
/// Name of the provider.
/// The name.
/// The provider user key.
/// The email.
/// The password question.
/// The comment.
/// if set to true [is approved].
/// if set to true [is locked out].
/// The creation date.
/// The last login date.
/// The last activity date.
/// The last password changed date.
/// The last lockout date.
/// The full name.
/// The language.
/// Type of the user.
public UsersMembershipUser(string providerName, string name, object providerUserKey, string email,
string passwordQuestion, string comment, bool isApproved, bool isLockedOut,
DateTime creationDate, DateTime lastLoginDate, DateTime lastActivityDate, DateTime lastPasswordChangedDate,
DateTime lastLockoutDate, string fullName, string language, UserType userType )
: base( providerName, name, providerUserKey, email, passwordQuestion, comment, isApproved, isLockedOut,
creationDate, lastLoginDate, lastActivityDate, lastPasswordChangedDate, lastLockoutDate)
{
_FullName = fullName;
_UserType = userType;
_Language = language;
}
#endregion
}
}