Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / User Class
Properties Methods


In This Topic
    User Class Members
    In This Topic

    The following tables list the members exposed by User.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets the Addresses  
    Public Property Gets or sets the Affiliate  
    Public Property Gets or sets the Affiliate for this entity.  
    Public Property Gets or sets the AffiliateReferralDate  
    Public Property Gets or sets the AuditEvents  
    Public Property Gets the user's basket  
    Public Property Gets or sets the Baskets  
    Public Property Gets or sets the Comment  
    Public Property Gets or sets the CreateDate  
    Public Property Gets or sets the Email  
    Public Property Gets a manager that provides strongly typed access to extended fields. (Inherited from CommerceBuilder.DomainModel.Entity)
    Public Property Gets or sets the FailedPasswordAnswerAttemptCount  
    Public Property Gets or sets the FailedPasswordAnswerAttemptWindowStart  
    Public Property Gets or sets the FailedPasswordAttemptCount  
    Public Property Gets or sets the FailedPasswordAttemptWindowStart  
    Public Property Gets a value indicating whether the entity have extended fields or not (Inherited from CommerceBuilder.DomainModel.Entity)
    Public PropertyOverridden.  Gets or sets the Id for the entity.  
    Public Property Gets a value indicating whether to user is admin  
    Public Property Gets a value indicating whether the user account is anonymous.  
    Public Property Gets a value indicating whether the user account is anonymous.  
    Public Property Gets or sets a value indicating whether IsApproved  
    Public Property Gets a value indicating whether to user is an authorized user  
    Public Property Gets a value indicating whether the user account is guest.  
    Public Property Gets or sets a value indicating whether IsLockedOut  
    Public Property Gets a value indicating whether to user is security admin  
    Public Property Gets a value indicating whether to user is system admin  
    Public Property Gets or sets the LastActivityDate  
    Public Property Gets or sets the LastLockoutDate  
    Public Property Gets or sets the LastLoginDate  
    Public Property Gets or sets the LastPasswordChangedDate  
    Public Property Gets the LoweredEmail  
    Public Property Gets the LoweredUserName  
    Public Property Gets or sets the OrderNotes  
    Public Property Gets or sets the Orders  
    Public Property Gets or sets the PageViews  
    Public Property Gets or sets the PasswordAnswer  
    Public Property Gets or sets the PasswordQuestion  
    Public Property Gets or sets the UserPasswords  
    Public Property Gets or sets the PaymentProfiles  
    Public Property Gets or sets the PayPalId  
    Public Property Gets the billing address  
    Public Property Gets or sets the ID of the billing address  
    Public Property Gets user's primary wish-list  
    Public Property Gets the PrimaryWishlistId  
    Public Property Gets or sets an instance of the repository for this entity (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Property Gets the reviewer profile associated with the user.  
    Public Property Gets or sets the ReviewReminders  
    Public Property Gets a manager that provides strongly typed access to the store settings.  
    Public Property Gets or sets the Store  
    Public Property Gets or sets the Subscriptions  
    Public Property Gets or sets a reference number that applies to tax exemptions  
    Public Property Gets or sets the type of tax exemption that applies to this customer  
    Public Property Gets User's selected currency  
    Public Property Gets or sets the Id of the user's selected currency  
    Public Property Gets or sets the UserGroups  
    Public Property Gets or sets the identity of this entity.  
    Public Property Gets or sets the UserName  
    Public Property Gets or sets the UserSettings  
    Public Property Gets or sets the Wishlists  
    Top
    Public Methods
     NameDescription
    Public Method Checks a password for the user.  
    Public Method Determines if this object instance is equal to another. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Method Generates a customer password request for this user  
    Public Method Gets the best email address for this user  
    Public MethodServes as the default hash function. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public MethodOverloaded.  Gets all payment profiles associated with this user instance  
    Public Method Gets the signature properties for the class type. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public Method You may override this method to provide your own comparison routine. (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Public MethodOverloaded.  Determines whether a user is in the given group.  
    Public MethodOverloaded.  Determines whether a user is in the given role.  
    Public Method Transient objects are not associated with an item already in storage. For instance, a Customer is transient if its Id is 0. It's virtual to allow NHibernate-backed objects to be lazily loaded. (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Public Methodstatic (Shared in Visual Basic) Logs out the current user  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Migrates data such as profile settings and basket contents from one user to another.  
    Public Method Converts the existing user record from an anonymous user to a registered user.  
    Public MethodOverloaded.  Updates the user password  
    Public Method Updates the password question and answer.  
    Public Method Checks the associated affiliate and resets the association if the referral is expired  
    Top
    Protected Methods
     NameDescription
    Protected Method Enforces the template method pattern to have child objects determine which specific properties should and should not be included in the object signature comparison. Note that the the BaseObject already takes care of performance caching, so this method shouldn't worry about caching...just return the goods man! (Inherited from CommerceBuilder.DomainModel.EntityWithTypedId<int>)
    Protected Method

    When NHibernate proxies objects, it masks the type of the actual entity object. This wrapper burrows into the proxied object to get its actual type.

    Although this assumes NHibernate is being used, it doesn't require any NHibernate related dependencies and has no bad side effects if NHibernate isn't being used.

    Related discussion is at http://groups.google.com/group/sharp-architecture/browse_thread/thread/ddd05f9baede023a ...thanks Jay Oliver!

    (Inherited from CommerceBuilder.DomainModel.BaseObject)
    Top
    Extension Methods
     NameDescription
    Public Extension Method Delete the entity from the database
    Public Extension Method Save the entity to the database
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also