The CWebUser type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ChangePassword | Overloaded. | |
| ChangeWebLogin |
Changes the WebLoginId to the specified value.
(Inherited from CContactUser.) | |
| CheckAndModifyEditStatus |
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.) | |
| Delete |
Marks this object to be deleted when the save is done
(Inherited from iboBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsInRole |
Determines whether the current principal belongs to the specified role.
(Inherited from CContactUser.) | |
| LoginByPrincipal |
Logs an existing CWebUser user into the system using an IPrincipal
that has already been validated (presumably).
| |
| LoginByWebLogin |
Logs an existing CWebUser user into the system using their web login and password.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ResetPassword |
Reset user's password to a random value and email the user new value.
(Inherited from CContactUser.) | |
| ResetWebLogin |
Resets the WebLoginId to the specified value. This will reset password and generate an email to the user with a new password.
(Inherited from CContactUser.) | |
| Save | Overloaded. | |
| SetPassword |
Sets CContactUser's password to the value supplied.
(Inherited from CContactUser.) | |
| ToString | (Inherited from Object.) | |
| Validate |
Verifies that the data in the CContactUser object is valid. If not, the Errors property will contain
messages about what data is not valid and false will be returned.
(Inherited from CContactUser.) |
Fields
| Name | Description | |
|---|---|---|
| mEditStatus | The edit status (unchanged, modified, etc) of this record. (Inherited from iboBase.) | |
| mErrors | The current list of errors encountered by this class instance during processing. (Inherited from iboBase.) |
Properties
| Name | Description | |
|---|---|---|
| ContactId |
Gets the key of the CContact to which this security account information belongs.
(Inherited from CContactUser.) | |
| ContactSecurityId |
Gets the identity value associated with this contact's security account.
(Inherited from CContactUser.) | |
| DataServerConnectionString |
Gets or sets the connection string to use when accessing the database via this user's account.
(Inherited from CContactUser.) | |
| EditStatus |
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus (Inherited from iboBase.) | |
| Errors |
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.) | |
| ErrorsCount |
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.) | |
| ExpiresOn |
Gets the date on which this user's ability to login expires.
(Inherited from CContactUser.) | |
| HasPassword |
Gets a value indicating whether the CContactUser has a password set and is therefore able to login.
(Inherited from CContactUser.) | |
| Identity |
Gets an object that represents the user's identity and authentication state.
(Inherited from CContactUser.) | |
| IsLoginDisabled |
Gets or sets an indicator of whether this user's ability to login has been disabled
(Inherited from CContactUser.) | |
| IsStaff |
Gets an indicator of whether or not this contact user is also a staff user
(Inherited from CContactUser.) | |
| LastLoginOn |
Gets the date and time this contact last logged into the system.
(Inherited from CContactUser.) | |
| PreviousLoginOn |
Gets the date and time this contact logged into the system previous to the LastLoginOn.
(Inherited from CContactUser.) | |
| SecurityGroup |
Gets or sets the web security group to which the user belongs.
(Inherited from CContactUser.) | |
| SecurityGroups |
Gets a Hashtable that contains security groups the current CWebUser belongs to.
| |
| StaffUser |
Gets the CStaffUser account information for the contact if the contact is also a staff user.
(Inherited from CContactUser.) | |
| ThrowExceptionOnError |
Gets an indicator of whether or not an exception should be thrown when a business rules error is detected.
(Inherited from CContactUser.) | |
| ThrowExceptionOnWarning |
Gets an indicator of whether or not an exception should be thrown when a business rules warning is detected.
(Inherited from CContactUser.) | |
| UpdatedByName |
Gets the name to be used in CreatedBy and UpdatedBy properties of objects being created and updated.
(Inherited from CContactUser.) | |
| WebLoginId |
Gets or sets the web login id that the CContact user uses to login.
(Inherited from CContactUser.) |