The CWebUser type exposes the following members.

Methods

  NameDescription
Public methodChangePassword(String, String)
Chagnes the password to the specified value.
(Inherited from CContactUser.)
Public methodChangePassword(String, String, String)
Changes the password to the specified value.
(Inherited from CContactUser.)
Public methodChangeWebLogin
Changes the WebLoginId to the specified value.
(Inherited from CContactUser.)
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInRole
Determines whether the current principal belongs to the specified role.
(Inherited from CContactUser.)
Public methodStatic memberLoginByPrincipal
Logs an existing CWebUser user into the system using an IPrincipal that has already been validated (presumably).
Public methodStatic memberLoginByWebLogin
Logs an existing CWebUser user into the system using their web login and password.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetPassword
Reset user's password to a random value and email the user new value.
(Inherited from CContactUser.)
Public methodResetWebLogin
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.)
Public methodSave()()()()
Saves any changes made to the object to the database.
(Inherited from CContactUser.)
Public methodSave(DataServer)
Saves any changes made to the object to the database.
(Inherited from CContactUser.)
Public methodSetPassword
Sets CContactUser's password to the value supplied.
(Inherited from CContactUser.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
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

  NameDescription
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Public propertyContactId
Gets the key of the CContact to which this security account information belongs.
(Inherited from CContactUser.)
Public propertyContactSecurityId
Gets the identity value associated with this contact's security account.
(Inherited from CContactUser.)
Public propertyDataServerConnectionString
Gets or sets the connection string to use when accessing the database via this user's account.
(Inherited from CContactUser.)
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyExpiresOn
Gets the date on which this user's ability to login expires.
(Inherited from CContactUser.)
Public propertyHasPassword
Gets a value indicating whether the CContactUser has a password set and is therefore able to login.
(Inherited from CContactUser.)
Public propertyIdentity
Gets an object that represents the user's identity and authentication state.
(Inherited from CContactUser.)
Public propertyIsLoginDisabled
Gets or sets an indicator of whether this user's ability to login has been disabled
(Inherited from CContactUser.)
Public propertyIsStaff
Gets an indicator of whether or not this contact user is also a staff user
(Inherited from CContactUser.)
Public propertyLastLoginOn
Gets the date and time this contact last logged into the system.
(Inherited from CContactUser.)
Public propertyPreviousLoginOn
Gets the date and time this contact logged into the system previous to the LastLoginOn.
(Inherited from CContactUser.)
Public propertySecurityGroup
Gets or sets the web security group to which the user belongs.
(Inherited from CContactUser.)
Public propertySecurityGroups
Gets a Hashtable that contains security groups the current CWebUser belongs to.
Public propertyStaffUser
Gets the CStaffUser account information for the contact if the contact is also a staff user.
(Inherited from CContactUser.)
Public propertyThrowExceptionOnError
Gets an indicator of whether or not an exception should be thrown when a business rules error is detected.
(Inherited from CContactUser.)
Public propertyThrowExceptionOnWarning
Gets an indicator of whether or not an exception should be thrown when a business rules warning is detected.
(Inherited from CContactUser.)
Public propertyUpdatedByName
Gets the name to be used in CreatedBy and UpdatedBy properties of objects being created and updated.
(Inherited from CContactUser.)
Public propertyWebLoginId
Gets or sets the web login id that the CContact user uses to login.
(Inherited from CContactUser.)

See Also