The CContactUser type exposes the following members.

Methods

  NameDescription
Public methodChangePassword(String, String)
Chagnes the password to the specified value.
Public methodChangePassword(String, String, String)
Changes the password to the specified value.
Public methodChangeWebLogin
Changes the WebLoginId to the specified value.
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodStatic memberCheckWebLogin
Checks to see if the specified WebLogin is used by another user
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.
Public methodStatic memberLoginByContactId
Logs an existing CContact user into the system by ContactId and password.
Public methodStatic memberLoginByWebLogin(String)
Logs an existing CContact user into the system using their user Id only. This will set the current app principal.
Public methodStatic memberLoginByWebLogin(String, Boolean)
Logs an existing CContact user into the system using their user Id only.
Public methodStatic memberLoginByWebLogin(String, String)
Logs an existing CContact user into the system using their web login and password.
Protected methodStatic memberLoginContact(CContactUser, String, String, String)
Populate CContactUser object given the login information.
Protected methodStatic memberLoginContact(CContactUser, String, String, String, Boolean)
Populate CContactUser object given the login information.
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.
Public methodStatic memberResetUserPassword(String)
Reset user's password to a random value and email the user new value.
Public methodStatic memberResetUserPassword(String, String)
Reset user's password to a random value and email the user new value.
Public methodResetWebLogin
Resets the WebLoginId to the specified value. This will reset password and generate an email to the user with a new password.
Protected methodStatic memberRetrieve
Retrieves the iMISUser fields from a data reader run against the Name_Security + Name_Security_Groups tables
Public methodSave()()()()
Saves any changes made to the object to the database.
Public methodSave(DataServer)
Saves any changes made to the object to the database.
Public methodSetPassword
Sets CContactUser's password to the value supplied.
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.
(Overrides iboBase..::..Validate()()()().)

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.)
Protected fieldStatic membersqlGetContact
SQL to retrieve Name_Security data based on ID and PASSWORD
Protected fieldStatic membersqlGetWebLogin
SQL to retrieve Name_Security data based on WEB_LOGIN and PASSWORD
Protected fieldStatic membersqlGetWebLoginByPassAuth
SQL to retrieve Name_Security data based on ID
Protected fieldStatic membersqlGroupsInsert
SQL to insert a new Name_Security_Groups record
Protected fieldStatic membersqlGroupsUpdate
SQL to update Name_Security_Groups.SECURITY_GROUP
Protected fieldStatic membersqlLoginContact
SQL to update Name_Security.LAST_LOGIN
Protected fieldStatic membersqlNameSecurityRemove
SQL to disable a web account
Protected fieldStatic membersqlSecurityInsert
SQL to insert a new Name_Security record
Protected fieldStatic membersqlSecurityUpdate
SQL to update Name_Security fields
Protected fieldStatic membersqlWebServiceSecurityUpdate
SQL to update Name_Security fields

Properties

  NameDescription
Public propertyContactId
Gets the key of the CContact to which this security account information belongs.
Public propertyContactSecurityId
Gets the identity value associated with this contact's security account.
Public propertyDataServerConnectionString
Gets or sets the connection string to use when accessing the database via this user's account.
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.
Public propertyHasPassword
Gets a value indicating whether the CContactUser has a password set and is therefore able to login.
Public propertyIdentity
Gets an object that represents the user's identity and authentication state.
Public propertyIsLoginDisabled
Gets or sets an indicator of whether this user's ability to login has been disabled
Public propertyIsStaff
Gets an indicator of whether or not this contact user is also a staff user
Public propertyLastLoginOn
Gets the date and time this contact last logged into the system.
Public propertyPreviousLoginOn
Gets the date and time this contact logged into the system previous to the LastLoginOn.
Public propertySecurityGroup
Gets or sets the web security group to which the user belongs.
Public propertyStaffUser
Gets the CStaffUser account information for the contact if the contact is also a staff user.
Public propertyThrowExceptionOnError
Gets an indicator of whether or not an exception should be thrown when a business rules error is detected.
Public propertyThrowExceptionOnWarning
Gets an indicator of whether or not an exception should be thrown when a business rules warning is detected.
Public propertyUpdatedByName
Gets the name to be used in CreatedBy and UpdatedBy properties of objects being created and updated.
Public propertyWebLoginId
Gets or sets the web login id that the CContact user uses to login.

See Also