The CContactUser type exposes the following members.

Methods

  NameDescription
ChangePasswordOverloaded.
ChangeWebLogin
Changes the WebLoginId to the specified value.
CheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
CheckWebLogin
Checks to see if the specified WebLogin is used by another user
Delete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Equals
Determines whether the specified Object is equal to the current Object.
(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.
LoginByContactId
Logs an existing CContact user into the system by ContactId and password.
LoginByWebLoginOverloaded.
LoginContactOverloaded.
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.
ResetUserPasswordOverloaded.
ResetWebLogin
Resets the WebLoginId to the specified value. This will reset password and generate an email to the user with a new password.
Retrieve
Retrieves the iMISUser fields from a data reader run against the Name_Security + Name_Security_Groups tables
SaveOverloaded.
SetPassword
Sets CContactUser's password to the value supplied.
ToString
Returns a String that represents the current Object.
(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.
(Overrides iboBase..::.Validate()()().)

Fields

  NameDescription
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.)
sqlGetContact
SQL to retrieve Name_Security data based on ID and PASSWORD
sqlGetWebLogin
SQL to retrieve Name_Security data based on WEB_LOGIN and PASSWORD
sqlGetWebLoginByPassAuth
SQL to retrieve Name_Security data based on ID
sqlGroupsInsert
SQL to insert a new Name_Security_Groups record
sqlGroupsUpdate
SQL to update Name_Security_Groups.SECURITY_GROUP
sqlLoginContact
SQL to update Name_Security.LAST_LOGIN
sqlNameSecurityRemove
SQL to disable a web account
sqlSecurityInsert
SQL to insert a new Name_Security record
sqlSecurityUpdate
SQL to update Name_Security fields
sqlWebServiceSecurityUpdate
SQL to update Name_Security fields

Properties

  NameDescription
ContactId
Gets the key of the CContact to which this security account information belongs.
ContactSecurityId
Gets the identity value associated with this contact's security account.
DataServerConnectionString
Gets or sets the connection string to use when accessing the database via this user's account.
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.
HasPassword
Gets a value indicating whether the CContactUser has a password set and is therefore able to login.
Identity
Gets an object that represents the user's identity and authentication state.
IsLoginDisabled
Gets or sets an indicator of whether this user's ability to login has been disabled
IsStaff
Gets an indicator of whether or not this contact user is also a staff user
LastLoginOn
Gets the date and time this contact last logged into the system.
PreviousLoginOn
Gets the date and time this contact logged into the system previous to the LastLoginOn.
SecurityGroup
Gets or sets the web security group to which the user belongs.
StaffUser
Gets the CStaffUser account information for the contact if the contact is also a staff user.
ThrowExceptionOnError
Gets an indicator of whether or not an exception should be thrown when a business rules error is detected.
ThrowExceptionOnWarning
Gets an indicator of whether or not an exception should be thrown when a business rules warning is detected.
UpdatedByName
Gets the name to be used in CreatedBy and UpdatedBy properties of objects being created and updated.
WebLoginId
Gets or sets the web login id that the CContact user uses to login.

See Also