Class ProjectMember
A person can be a member of multiple projects, with a different comment and member type in each project.
Carrier object for ProjectMember. Services for the ProjectMember Carrier is available from the Project Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class ProjectMember : Carrier
Examples
Get ProjectMember 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ProjectAgent();
var projectMember = agent.GetProjectMember( 123 );
}
Find all ProjectMember, get related items using archive agent.
var archive = new ArchiveAgent();
var rows = archive.GetArchiveListByColumns2("ProjectMember", "...", null, "getAllRows eq 1", null, 0, 100 );
Constructors
ProjectMember()
Default constructor
Declaration
public ProjectMember()
See Also
Properties
Comment
Comment text on the project membership
Declaration
[DataMember]
public virtual string Comment { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ContactDepartment
Contact department
Declaration
[DataMember]
public virtual string ContactDepartment { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ContactId
Contact ID of person who is the project member
Declaration
[DataMember]
public virtual int ContactId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ContactName
Contact name
Declaration
[DataMember]
public virtual string ContactName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
CountryId
Country
Declaration
[DataMember]
public virtual int CountryId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
EmailAddress
The e-mail address
Declaration
[DataMember]
public virtual string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
EmailAddressName
The e-mail address description
Declaration
[DataMember]
public virtual string EmailAddressName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
EmailId
The person's email address id
Declaration
[DataMember]
public virtual int EmailId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Firstname
First name
Declaration
[DataMember]
public virtual string Firstname { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
FullName
The person's full name localized to the current culture/country. (internal name used in clients for employees)
Declaration
[DataMember]
public virtual string FullName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Lastname
Last name
Declaration
[DataMember]
public virtual string Lastname { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
MiddleName
Middle name or 'van' etc.
Declaration
[DataMember]
public virtual string MiddleName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Mrmrs
e.g. Mrs, Dr, Ms.
Declaration
[DataMember]
public virtual string Mrmrs { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
PersonId
The person's id - primary key
Declaration
[DataMember]
public virtual int PersonId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Phone
Phone number
Declaration
[DataMember]
public virtual string Phone { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
PhoneId
The phone id
Declaration
[DataMember]
public virtual int PhoneId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ProjectId
Parent project - the project this project member belongs to.
Declaration
[DataMember]
public virtual int ProjectId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ProjectMemberTypeId
ProjectMember Type Id - from the ProjectMemberType list.
Use MDO List name "PMembType" to get list items.
Declaration
[DataMember]
public virtual int ProjectMemberTypeId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
ProjectMemberTypeName
The projectmembers type name: 'secretary', 'member', etc.
Declaration
[DataMember]
public virtual string ProjectMemberTypeName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ProjectName
Name of the project this project member belongs to.
Declaration
[DataMember]
public virtual string ProjectName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
ProjectmemberId
Primary key
Declaration
[DataMember]
public virtual int ProjectmemberId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
string | The carrier contents. |