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 Code |
---|---|
public class User |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class User |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
User | Overloaded. |
Public Methods
Name | Description | |
---|---|---|
ChangePassword | (Inherited from MembershipUser.) | |
ChangePasswordQuestionAndAnswer | (Inherited from MembershipUser.) | |
Equals | (Inherited from Object.) | |
EqualsIdentity |
Checks whether this user equals the given identity.
|
|
GetDomainFromUserName |
Gets the name of the domain from a user name.
|
|
GetFullyQualifiedUserName |
Gets the fully qualified user name (including the Active Directory domain if specified when logging in).
|
|
GetHashCode | (Inherited from Object.) | |
GetPassword | (Inherited from MembershipUser.) | |
GetPassword | (Inherited from MembershipUser.) | |
GetType | (Inherited from Object.) | |
GetUserType |
Return the user type for the specified user ID.
|
|
IsInGroup | Overloaded. | |
IsVisitor |
Returns true if the userId represents a visitor, false if it represents a user.
|
|
MemberOfGroup |
Determines whether the user is in the specified group.
|
|
ResetPassword | (Inherited from MembershipUser.) | |
ResetPassword | (Inherited from MembershipUser.) | |
ToString | (Inherited from MembershipUser.) | |
UnlockUser | (Inherited from MembershipUser.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Fields
Name | Description | |
---|---|---|
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 | |
---|---|---|
ActivationDate |
Activation date
|
|
ApplicationUser |
Returns the application user.
|
|
Comment | (Inherited from MembershipUser.) | |
CreationDate | (Inherited from MembershipUser.) | |
Culture |
Returns the culture of this user.
|
|
(Inherited from MembershipUser.) | ||
Expirationdate |
Expiration date
|
|
ExternalKey |
Returns the external key of this user.
|
|
FullName |
Full name
|
|
GuestUser |
Returns the guest user
|
|
Id |
Returns the id of this user.
|
|
IsApplicationUser |
Returns true if this user is the application user.
|
|
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.) |
|
IsGuestUser |
Returns true if this user is the guest user.
|
|
IsLockedOut | (Inherited from MembershipUser.) | |
IsOnline | (Inherited from MembershipUser.) | |
LastActivityDate | (Inherited from MembershipUser.) | |
LastLockoutDate | (Inherited from MembershipUser.) | |
LastLoginDate | (Inherited from MembershipUser.) | |
LastPasswordChangedDate | (Inherited from MembershipUser.) | |
PasswordQuestion | (Inherited from MembershipUser.) | |
PrimaryGroupId |
Returns the primary group id of this user.
|
|
ProviderName | (Inherited from MembershipUser.) | |
ProviderUserKey | (Inherited from MembershipUser.) | |
Type |
User type
|
|
UserName | (Inherited from MembershipUser.) |
See Also
Smartsite.Security Namespace