The IUser type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddUserConnection | ||
ContainsField |
Checks to see if the object contains a specicific field by fielod name. to check
(Inherited from ICartellaObject.) | |
CreatedComments |
Get comments created by this user
| |
Get_Procedure_SelectPagedRelations |
Return the "SelectPagedRelationsProcedure" delegate, by the given target type
(Inherited from ICartellaObject.) | |
Get_Procedure_SelectPositionedRelations |
Return the "SelectPositionedRelationsProcedure" delegate, by the given target type
(Inherited from ICartellaObject.) | |
Get_Procedure_SelectRelations |
Return the "SelectRelationsProcedure" delegate, by the given target type
(Inherited from ICartellaObject.) | |
GetApprovedConnections |
Used to get approved connections
| |
GetConnectionModifiedItems | ||
GetCreatedOrModifiedItems(String, Int32, Int32, Int32) |
Retrieves set of recent items created or modified by user
| |
GetCreatedOrModifiedItems(String, Int32, Int32, Int32, Boolean%) |
Retrieves set of recent items created or modified by user
| |
GetFields |
Get a collection of fields.
(Inherited from IBaseObject.) | |
GetPendingConnection |
Used to get pending connections
| |
GetProfile |
Returns user's profile. If no profile exists for the current user
one will be created. Will return null if the user is anonymous.
| |
Groups |
Returns groups associated with user.
| |
Initialize | (Inherited from IBaseObject.) | |
RemoveUserConnection | ||
RetrieveFullRecord |
Retrieve full content of the object. This method is automatically invoked, when full record retrieval is never
done on the object, and indexer call if performed on the fields key that doesn't exist.
(Inherited from ICartellaObject.) | |
SetPassword |
Change password for this user.
Exception will be thrown, if the old password doesn't match.
Only System Admin can perform this method, otherwise, Security Exception is thrown.
| |
SetupDelegates |
Setup the delegate methods for data communications
(Inherited from ICartellaObject.) | |
StartUpdate |
Suppress update events.
Use "Using" statement to automatically dispose and reset Event update switch.
Put the actual object property changes inside the using block
(Inherited from IBatchUpdatable.) | |
UpdateData |
Sync the data of the object to underlying data record
(Inherited from IBatchUpdatable.) | |
ValidateRules |
Validates instance based on rules stored in the Global Manager.
If validation fails, a Validation Exception will be thrown.
(Inherited from ICartellaObject.) |
Properties
Name | Description | |
---|---|---|
AdditionalInformation | ||
AdditionalProperties | (Inherited from IExtensibleObject.) | |
CanCreateFolio |
Get/Set if the user can create folio
| |
Company |
Get/Set the Company information
| |
CreationDate |
Get the Creation Date of the object
(Inherited from IDatedUniqueObject.) | |
CreationUser |
Get the Creation User of the object
(Inherited from ICartellaObject.) | |
CreationUserID |
Get the ID of the Creation User
(Inherited from ICartellaObject.) | |
Deleted |
Get, set the delete status of current object
(Inherited from ICartellaObject.) | |
DisplayName |
uses the Visibility Settings of FirstName and LastName to render an appropriate Name
| |
Editable |
Test if this object is editable by the current user.
(Inherited from ICartellaObject.) | |
EmailAddress |
Get/Set the email address
| |
ExternalAuthenticator |
Get the authenticator plugin to be used to authenticator for this user.
| |
ExternalID | ||
FirstName |
Get/Set the First Name
| |
HasSeat |
Find out if the user is seated or not by the license manager.
A user without a license see cannot log in to Cartella
| |
ID |
Get ID of the object
(Inherited from IUniqueObject.) | |
Image | ||
IsAdmin |
Get/Set if the user is a System Admin
| |
IsAnonymous | ||
IsDirty |
Find out if the object fields values has been changes, but not yet synced to underlying
data record.
(Inherited from ICartellaObject.) | |
IsExternal |
Get if the user is an external user or not.
External user means the user need to be authenticated with
an authentication plug-in from external source, instead of
internal users database.
External users are still stored in Cartella database for
security references.
| |
IsNewObject | (Inherited from IBaseObject.) | |
Item |
Indexer.
Get, set field value by field name.
(Inherited from IBaseObject.) | |
LastLoginDate |
Get LastLoginDate
No Setter since LastLoginDate is an AuditTrail managed by SiteManager.LicenseManager
| |
LastName |
Get/Set the Last Name
| |
LastUpdatedDate |
Get the Last Update Date of the object
(Inherited from IDatedUniqueObject.) | |
LastUpdatedUser |
Get the Last Update User of the object
(Inherited from ICartellaObject.) | |
LoginName |
Get/Set the LoginName
| |
Name |
Get, set Name of the object
(Inherited from IUniqueObject.) | |
PhoneNumber |
Get/Set the phone number
| |
Preferences |
Wrapper object containing individual User's Preference configuration.
Ex.) Locale, User Property Visibility, etc.
| |
Procedure_FullRecordRetrieval |
Get , set the delegate pointing to the data method for performing full record retrieval
(Inherited from ICartellaObject.) | |
Procedure_Insert |
Get and set delegate for creating an object that has no id
(Inherited from ICartellaObject.) | |
Procedure_Restore |
Get, set the delegate pointing to the data method for performing restore method
if the underlying data table support delete status.
(Inherited from ICartellaObject.) | |
Procedure_Update |
Get , set the delegate pointing to the data method for performing update to database,
base on current object field values
(Inherited from ICartellaObject.) | |
Procedures_SelectPagedRelations |
Get, set the dictionary of delegates, pointing to the data method for performing
selection of PagedRelations (lazy loading relations)
The dictionary is indexed by type of target for the relations object to retrieve.
(Inherited from ICartellaObject.) | |
Procedures_SelectPositionedRelations |
Get, set the dictionary of delegates, pointing to the data method for performing
selection of PositionedRelations (relation with specific position information for each item).
The dictionary is indexed by type of target for the relations object to retrieve.
(Inherited from ICartellaObject.) | |
Procedures_SelectRelations |
Get, set the dictionary of delegates, pointing to the data method for performing relation selections.
The dictionary is indexed by type of target for the relations object to retrieve.
(Inherited from ICartellaObject.) | |
ProfileID | ||
ResetPassword |
Get/Set resetPassword Status
If (ResetPassword == true), Application must ask the user to change the password
| |
StopEventUpdate |
Switch to determine if event update is allowed.
When "StartUpdate" is invoked, this will be set to true,
thus stop all update events
When the result of "StartUpdate" is disposded, the value reset to false
(Inherited from IBatchUpdatable.) | |
UniqueIdField |
Get Unique ID field in field collection.
(Inherited from IBaseObject.) | |
UserManager |
Get the UserManager object for current Cartella session
| |
UserViewData | (Inherited from IFieldVisibilityConfigurable.) |
Events
Name | Description | |
---|---|---|
FullRecordRetrieved |
Event to fire when the full content of this object is retrieved.
This event will only get triggered, if the object is partially constructed.
(Inherited from ICartellaObject.) | |
ObjectPreValidation |
Event to fire preceeding object validation.
(Inherited from ICartellaObject.) | |
ObjectUpdated |
Event to fire when the update field values are updated
(Inherited from ICartellaObject.) |