Interface IPersonInfo
Interface providing information about a person
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public interface IPersonInfo
Properties
AssociateId
User id
Declaration
int AssociateId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Chat
Chat
Declaration
string Chat { get; }
Property Value
Type | Description |
---|---|
String |
ChatId
Chat id
Declaration
int ChatId { get; }
Property Value
Type | Description |
---|---|
Int32 |
ChatProtocol
Chat protocol
Declaration
string ChatProtocol { get; }
Property Value
Type | Description |
---|---|
String |
ContactId
Owner contact id
Declaration
int ContactId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Country
Country
Declaration
string Country { get; }
Property Value
Type | Description |
---|---|
String |
Country2
Country if different from the sender's country
Declaration
string Country2 { get; }
Property Value
Type | Description |
---|---|
String |
CountryCode
Country code
Declaration
string CountryCode { get; }
Property Value
Type | Description |
---|---|
String |
CountryId
Country ID from database
Declaration
int CountryId { get; }
Property Value
Type | Description |
---|---|
Int32 |
DateOfBirth
Date of birth
Declaration
string DateOfBirth { get; }
Property Value
Type | Description |
---|---|
String |
Department
Person department
Declaration
string Department { get; }
Property Value
Type | Description |
---|---|
String |
Declaration
string EMail { get; }
Property Value
Type | Description |
---|---|
String |
EMailId
E-mail id
Declaration
int EMailId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Fax
Direct fax
Declaration
string Fax { get; }
Property Value
Type | Description |
---|---|
String |
FaxId
Direct fax id
Declaration
int FaxId { get; }
Property Value
Type | Description |
---|---|
Int32 |
FaxStripped
Fax. Any non digit characters are stripped.
Declaration
string FaxStripped { get; }
Property Value
Type | Description |
---|---|
String |
FirstName
First name
Declaration
string FirstName { get; }
Property Value
Type | Description |
---|---|
String |
LastName
Last name
Declaration
string LastName { get; }
Property Value
Type | Description |
---|---|
String |
LineFeedGermany
Line feed for internal post in Germany
Declaration
string LineFeedGermany { get; }
Property Value
Type | Description |
---|---|
String |
MiddleName
Middle name
Declaration
string MiddleName { get; }
Property Value
Type | Description |
---|---|
String |
MiddleName2
Middle name if middle name is in use
Declaration
string MiddleName2 { get; }
Property Value
Type | Description |
---|---|
String |
MobilePhone
Mobile phone
Declaration
string MobilePhone { get; }
Property Value
Type | Description |
---|---|
String |
MobilePhoneId
Mobile phone id
Declaration
int MobilePhoneId { get; }
Property Value
Type | Description |
---|---|
Int32 |
MrMrs
Mr/Mrs field
Declaration
string MrMrs { get; }
Property Value
Type | Description |
---|---|
String |
Nomailing
Mail Stop (for American addresses)
Declaration
bool Nomailing { get; }
Property Value
Type | Description |
---|---|
Boolean |
OfficePhone
Direct phone
Declaration
string OfficePhone { get; }
Property Value
Type | Description |
---|---|
String |
OfficePhoneId
Direct phone id
Declaration
int OfficePhoneId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Pager
Pager
Declaration
string Pager { get; }
Property Value
Type | Description |
---|---|
String |
PagerId
Pager ID
Declaration
int PagerId { get; }
Property Value
Type | Description |
---|---|
Int32 |
PersonId
Primary key of the person
Declaration
int PersonId { get; }
Property Value
Type | Description |
---|---|
Int32 |
PersonNumber
The persons number
Declaration
string PersonNumber { get; }
Property Value
Type | Description |
---|---|
String |
Position
Position
Declaration
string Position { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressCity
Postal town
Declaration
string PostalAddressCity { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressCityFull
Postal town, state/province and zipcode (for American, Canadian and Australian addresses, e.g. Bedford, MA 01730).
Declaration
string PostalAddressCityFull { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressCounty
County (for UK addresses)
Declaration
string PostalAddressCounty { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine1
Postal Address, line 1
Declaration
string PostalAddressLine1 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine1Extended
First address line, including Mail Stop (for American addresses)
Declaration
string PostalAddressLine1Extended { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine2
Postal Address, line 2
Declaration
string PostalAddressLine2 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressLine3
Postal Address, line 3
Declaration
string PostalAddressLine3 { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressState
State/province (for American, Canadian and Australian addresses). (See also aucs.)
Declaration
string PostalAddressState { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressStateAmericaCanadaAustralia
State/province (for American, Canadian and Australian addresses). (See also cszc.)
Declaration
string PostalAddressStateAmericaCanadaAustralia { get; }
Property Value
Type | Description |
---|---|
String |
PostalAddressZip
Postcode. (See also aucs.)
Declaration
string PostalAddressZip { get; }
Property Value
Type | Description |
---|---|
String |
PrivatePhone
Home phone
Declaration
string PrivatePhone { get; }
Property Value
Type | Description |
---|---|
String |
PrivatePhoneId
Home phone id
Declaration
int PrivatePhoneId { get; }
Property Value
Type | Description |
---|---|
Int32 |
Salutation
Salutation
Declaration
string Salutation { get; }
Property Value
Type | Description |
---|---|
String |
Title
Title
Declaration
string Title { get; }
Property Value
Type | Description |
---|---|
String |
Url
Voip
Declaration
string Url { get; }
Property Value
Type | Description |
---|---|
String |
UrlId
Voip service
Declaration
int UrlId { get; }
Property Value
Type | Description |
---|---|
Int32 |
UsePersonAddress
Use the person's postal address instead of the contact's address.
Declaration
bool UsePersonAddress { get; }
Property Value
Type | Description |
---|---|
Boolean |
Voip
Voip
Declaration
string Voip { get; }
Property Value
Type | Description |
---|---|
String |
VoipId
Voip id
Declaration
int VoipId { get; }
Property Value
Type | Description |
---|---|
Int32 |
VoipService
Voip service
Declaration
string VoipService { get; }
Property Value
Type | Description |
---|---|
String |
Methods
GetInternationalAddress(Int32)
Get a line from the international address
Declaration
string GetInternationalAddress(int lineNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | lineNo |
Returns
Type | Description |
---|---|
String |
GetUserDefinedDecimal(Int32)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
string GetUserDefinedDecimal(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-10). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedDecimal(String)
Get the decimal udef value based on the prog.id name of the udef field.
Declaration
double GetUserDefinedDecimal(string progId)
Parameters
Type | Name | Description |
---|---|---|
String | progId | Program name of udef field |
Returns
Type | Description |
---|---|
Double | double value of field, or NAN if field not found |
GetUserDefinedInt(Int32)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
string GetUserDefinedInt(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-60). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedInt(String)
Get the int udef value based on the prog.id name of the udef field.
Declaration
int GetUserDefinedInt(string progId)
Parameters
Type | Name | Description |
---|---|---|
String | progId | Program name of udef field |
Returns
Type | Description |
---|---|
Int32 | int value of field, or MINVALUE if field not found |
GetUserDefinedString(Int32)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
string GetUserDefinedString(int fieldNo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | fieldNo | Field number (1-39). |
Returns
Type | Description |
---|---|
String | User-defined field value. |
GetUserDefinedString(String)
Get the string udef value based on the prog.id name of the udef field.
Declaration
string GetUserDefinedString(string progId)
Parameters
Type | Name | Description |
---|---|---|
String | progId | Program name of udef field |
Returns
Type | Description |
---|---|
String | string value of field, or NULL if field not found |