Click or drag to resize

IProjectMemberPersonId Property

PersonId The contact person object. The contact person object that is the project member. This will return the database internal unique identifier for this contact person (person_id).

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
int PersonId { get; set; }

Property Value

Type: Int32
SOPerson – a reference to the SOPerson object Long – the database internal unique Id (Person_id)
Examples

Person

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Dim projMemb
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    projMemb = objSO.GetProjectMember(1) 
    msgbox "Project member�s title:" & projMemb.Person.Title, vbInformation + vbOkOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

PersonId

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Dim projMemb
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    projMemb = objSO.GetProjectMember(1) 
    msgbox "The project member has person_id = " & projMemb.PersonID, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also