Click or drag to resize

IPersonRetired Property

Retired checkbox Retired is used to hide contact persons that no longer work for the contact, they may be hidden so you only see the currently employed contact persons in the company.

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

Property Value

Type: Boolean

Boolean

True if the contact person is marked as retired.

False the contact person is NOT marked as retired.

Examples

Retired

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

VB
Dim objSO
Set objSO = Nothing
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    if objSO.currentPerson.retired = true then
        MsgBox "The current contact person is retired", vbInformation + bOkOnly, "SuperCOM"
    else
        msgbox "The current contact person is NOT retired", vbInformation + vbOkOnly, "SuperCOM"
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also