This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class User
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class User

The type exposes the following members.

Public Constructors

  Name Description
Public method User Overloaded.

Public Methods

  Name Description
Public method ChangePassword (Inherited from MembershipUser.)
Public method ChangePasswordQuestionAndAnswer (Inherited from MembershipUser.)
Public method Equals (Inherited from Object.)
Public method EqualsIdentity
Checks whether this user equals the given identity.
Public method Static member GetDomainFromUserName
Gets the name of the domain from a user name.
Public method Static member GetFullyQualifiedUserName
Gets the fully qualified user name (including the Active Directory domain if specified when logging in).
Public method GetHashCode (Inherited from Object.)
Public method GetPassword (Inherited from MembershipUser.)
Public method GetPassword (Inherited from MembershipUser.)
Public method GetType (Inherited from Object.)
Public method Static member GetUserType
Return the user type for the specified user ID.
Public method IsInGroup Overloaded.
Public method Static member IsVisitor
Returns true if the userId represents a visitor, false if it represents a user.
Public method MemberOfGroup
Determines whether the user is in the specified group.
Public method ResetPassword (Inherited from MembershipUser.)
Public method ResetPassword (Inherited from MembershipUser.)
Public method ToString (Inherited from MembershipUser.)
Public method UnlockUser (Inherited from MembershipUser.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Fields

  Name Description
Public field Static member VisitorIdentitySeed
There are two kinds of Smartsite users, namely Users and Visitors. These users are stored in the Users table and Visitors table. The primary key of the Visitors table has an identity seed of 1000000. This fact is used to differentiate beteen an User and a Visitor.

Public Properties

  Name Description
Public property ActivationDate
Activation date
Public property Static member ApplicationUser
Returns the application user.
Public property Comment (Inherited from MembershipUser.)
Public property CreationDate (Inherited from MembershipUser.)
Public property Culture
Returns the culture of this user.
Public property Email (Inherited from MembershipUser.)
Public property Expirationdate
Expiration date
Public property ExternalKey
Returns the external key of this user.
Public property FullName
Full name
Public property Static member GuestUser
Returns the guest user
Public property Id
Returns the id of this user.
Public property IsApplicationUser
Returns true if this user is the application user.
Public property IsApproved
Gets or sets whether the membership user can be authenticated. The IsApproved value for a membership user is checked during the call to ValidateUser by the MembershipProvider. If the IsApproved property returns false, the ValidateUser method returns false even if the supplied user name and password are correct.
(Overrides MembershipUser..::IsApproved.)
Public property IsGuestUser
Returns true if this user is the guest user.
Public property IsLockedOut (Inherited from MembershipUser.)
Public property IsOnline (Inherited from MembershipUser.)
Public property LastActivityDate (Inherited from MembershipUser.)
Public property LastLockoutDate (Inherited from MembershipUser.)
Public property LastLoginDate (Inherited from MembershipUser.)
Public property LastPasswordChangedDate (Inherited from MembershipUser.)
Public property PasswordQuestion (Inherited from MembershipUser.)
Public property PrimaryGroupId
Returns the primary group id of this user.
Public property ProviderName (Inherited from MembershipUser.)
Public property ProviderUserKey (Inherited from MembershipUser.)
Public property Type
User type
Public property UserName (Inherited from MembershipUser.)

See Also

Advanced