Person Class |
Namespace: ArtDatabanken.Data
The Person type exposes the following members.
Name | Description | |
---|---|---|
Addresses |
Addresses.
The list object is automatically created.
It is optional to add addresses, but a person should be enforsed to provide at least one address in the process of user registration.
If the person do not want to show its full address to other users the person should set ShowAddresses to False.
| |
AdministrationRoleId |
Administration role id.
Optional. It is set by super administrators in order to enable delegation of the administration of this object.
| |
BirthYear |
Year person was born. Optional.
| |
DataContext |
Data context.
| |
DeathYear |
Year person died. Optional.
| |
EmailAddress |
E-mail address. Is mandatory if the person object is associated with a user. If the user do not want to expose this information in public set ShowEmailAddress to False.
| |
FirstName |
Persons first name. Mandatory. Max length 50.
| |
FullName |
Get a persons full name.
| |
Gender |
Gender. Not null. Is by default set to "Not specified".
| |
GUID |
GUID (Globally Unique Identifier) for this object.
It is a LSID, which is unique for each version of the record holding the information included in this object.
It is updated automatically by database each time information is saved.
| |
HasSpeciesCollection |
Has species collection
Is set to False by default in database. If set to True the Person owns a collection of biological material related to taxon observations.
| |
Id |
Id for this person.
| |
LastName |
Persons last name. Mandatory. Max length 50.
| |
Locale |
Selected language for person. Mandatory.
| |
MiddleName |
Persons middle name. Optional. Max length 50.
| |
PhoneNumbers |
Phone numbers.
The list object is automatically created.
| |
Presentation |
Presentation about the person. Optional. Max length 3000.
| |
ShowAddresses |
Show addresses to all.
Is set to False by default in database. If False address information (except City) should not be exposed to public users.
It should only be set to true by the user if the user wants to expose its addresses to all other users.
| |
ShowEmailAddress |
Show E-mail address to all.
Is set to False by default in database. If False E-mail should not be exposed to public users.
It should only be set to true by the user if the user wants to expose its E-mail to all other users.
| |
ShowPersonalInformation |
Show personal information (gender, birthyear) to all.
If False personal information should not be exposed to public users.
It should only be set to true by the user if the user wants to expose its personal information to all other users.
| |
ShowPhoneNumbers |
Show phone numbers to all.
If False phone number information should not be exposed to public users.
It should only be set to true by the user if the user wants to expose its phone numbers to all other users.
| |
ShowPresentation |
Show presentation.
If False presentation should not be exposed to public users.
It should only be set to true by the user if the user wants to expose its presentation to all other users.
| |
TaxonNameTypeId |
Selected Taxon name type id. Id represents the name type in the taxonomic database called Dyntaxa.
Not null. It is by default set to 0 which correspond to Scientific names. It should reflect the persons preferens for how taxon names should be presented.
| |
UpdateInformation |
Information about create/update of person.
| |
URL |
URL to the persons homepage. Optional. Max length 400.
| |
UserId |
User id.
|
Name | Description | |
---|---|---|
GetUser |
Get user.
May be null if no user is connected to the person.
| |
SetUser |
Connect a user to this person.
|
Name | Description | |
---|---|---|
AreEqual |
Test if two IDataId32 references are equal.
(Defined by IDataId32Extension.) | |
AreNotEqual |
Test if two IDataId32 references are not equal.
(Defined by IDataId32Extension.) | |
CheckNotNull |
Check that an argument is not null.
(Defined by ObjectExtension.) | |
CheckNull |
Check that an argument is null.
(Defined by ObjectExtension.) | |
IsNotNull |
Test if an object reference is not null.
(Defined by ObjectExtension.) | |
IsNull |
Test if an object reference is null.
(Defined by ObjectExtension.) |