Show / Hide Table of Contents

Class EjuserRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the ejuser table.

Inheritance
Object
EjuserRecordData
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class EjuserRecordData
Remarks

Please use this class instead of a full EjuserRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding EjuserTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

EjuserRecordData()

Declaration
public EjuserRecordData()

Fields

AccessLevel

The access level for this user.

Declaration
public int AccessLevel
Field Value
Type Description
Int32

ChatStatus

Various chat statuses for an agent

Declaration
public ChatStatus ChatStatus
Field Value
Type Description
ChatStatus

DateFormat

The preferred format of dates and datetimes (enum) for this user.

Declaration
public short DateFormat
Field Value
Type Description
Int16

DateFormatLongString

Chosen date format for lists as a string for this user

Declaration
public string DateFormatLongString
Field Value
Type Description
String

DateFormatString

Chosen date format as a string for this user

Declaration
public string DateFormatString
Field Value
Type Description
String

DbiAgentId

Integration agent (eJournal)

Declaration
public int DbiAgentId
Field Value
Type Description
Int32

DbiKey

The primary key for the integrated entry in the external datasource.

Declaration
public string DbiKey
Field Value
Type Description
String

DbiLastModified

When the entry was last modified.

Declaration
public DateTime DbiLastModified
Field Value
Type Description
DateTime

DbiLastSyncronized

Last external syncronization.

Declaration
public DateTime DbiLastSyncronized
Field Value
Type Description
DateTime

DefaultCategory

The default category for this user when posting tickets and use_last_category is false.

Declaration
public int DefaultCategory
Field Value
Type Description
Int32

DefaultStatusAddMessage

Default status on add message.

Declaration
public int DefaultStatusAddMessage
Field Value
Type Description
Int32

DefaultStatusNewTicket

Default status on new requests.

Declaration
public int DefaultStatusNewTicket
Field Value
Type Description
Int32

DefaultUser

The default user to set on new tickets in this category (1=automatically, 2=unasigned, 3=the owner

Declaration
public int DefaultUser
Field Value
Type Description
Int32

Dictionary

A string indicating the user's prefered dictionary language ('no' or 'en').

Declaration
public string Dictionary
Field Value
Type Description
String

EjuserId

The primary key (auto-incremented)

Declaration
public int EjuserId
Field Value
Type Description
Int32

Email

The email address for this user.

Declaration
public string Email
Field Value
Type Description
String

EmailMask

A bitmask indicated to which extent the user should recieve email warnings for various events.

Declaration
public int EmailMask
Field Value
Type Description
Int32

Firstname

The firstname for this user.

Declaration
public string Firstname
Field Value
Type Description
String

Flags

A bitmask indicating flags for this entry.

Declaration
public int Flags
Field Value
Type Description
Int32

HiddenBagBitset

Each character represent a bit to set a HtmlBagHideable to default open or closed (1=open 0=closed)

Declaration
public string HiddenBagBitset
Field Value
Type Description
String

IdleTime

Number of seconds the user has been idle. Updated by TrayIcon or simular external programs.

Declaration
public int IdleTime
Field Value
Type Description
Int32

Language

A string indicating the user's language ('no' or 'en').

Declaration
public string Language
Field Value
Type Description
String

LastCategory

The last chosen category for this user when posting tickets.

Declaration
public int LastCategory
Field Value
Type Description
Int32

LastLoginAttempt

The last time the user tried to log in without success

Declaration
public DateTime LastLoginAttempt
Field Value
Type Description
DateTime

Lastname

The lastname for this user.

Declaration
public string Lastname
Field Value
Type Description
String

LoginAttempts

The number of times the user has attempted to login with the wrong password

Declaration
public int LoginAttempts
Field Value
Type Description
Int32

Loginname

The unique loginname for this user.

Declaration
public string Loginname
Field Value
Type Description
String

Middlename

The middlename for this user.

Declaration
public string Middlename
Field Value
Type Description
String

MinuteOffset

Offset in hours between server and ejuser timezone.

Declaration
public int MinuteOffset
Field Value
Type Description
Int32

NewGui

Whether to use the new gui or not

Declaration
public short NewGui
Field Value
Type Description
Int16

NotifyExternalLock

A datetime lock to make sure notifications are only displayed by one notifcation system (ejournal or external programs)

Declaration
public DateTime NotifyExternalLock
Field Value
Type Description
DateTime

NotifyExternalSource

A name (id) of the external notifications system (ejournal or external programs)

Declaration
public string NotifyExternalSource
Field Value
Type Description
String

NotifyMask

A bitmask indicating to which extent the user should recieve pop-up warnings for various events.

Declaration
public int NotifyMask
Field Value
Type Description
Int32

NotPresent

Comment to add for user when status is not present.

Declaration
public string NotPresent
Field Value
Type Description
String

NumExpandedMessages

The number of expanded messages in show-ticket view.

Declaration
public int NumExpandedMessages
Field Value
Type Description
Int32

Password

The encrypted password for this user.

Declaration
public string Password
Field Value
Type Description
String

PictureId

The attachment.id this reference is connected to.

Declaration
public int PictureId
Field Value
Type Description
Int32

ProfileId

Reference to the profile connected to this ejuser

Declaration
public int ProfileId
Field Value
Type Description
Int32

Signature

The users signature.

Declaration
public string Signature
Field Value
Type Description
String

SimultaneousLogin

A boolean telling if the user is counted as one of the simultaneous ones, or one who alway may log in

Declaration
public short SimultaneousLogin
Field Value
Type Description
Int16

Sms

The SMS number for this user

Declaration
public string Sms
Field Value
Type Description
String

SmsMask

A bitmask indicated to which extent the user should recieve sms warnings for various events.

Declaration
public int SmsMask
Field Value
Type Description
Int32

Status

The status (enum) for this user.

Declaration
public short Status
Field Value
Type Description
Int16

Textareasize

Size of textarea for each user, example '80x40'

Declaration
public string Textareasize
Field Value
Type Description
String

TimeFormatString

Chosen time format as a string for this user

Declaration
public string TimeFormatString
Field Value
Type Description
String

Usergroup

The group this user is member of

Declaration
public int Usergroup
Field Value
Type Description
Int32

Username

The unique username for this user.

Declaration
public string Username
Field Value
Type Description
String

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
EjuserRecordDataExtensions.ToInsert(EjuserRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top