Click or drag to resize

IPersonUpdatedAssociate Property

The last user to modify the object The last associate that updated this contact person. If the contact person has never been updated, this will return 0

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOAssociate UpdatedAssociate { get; }

Property Value

Type: SOAssociate
SOAssociate - object containing the last editor of the contact person

Implements

IModelBaseUpdatedAssociate
Examples

UpdatedAssociate

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 = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    result = objSO.CurrentPerson.UpdatedAssociate.Identity          
    if result = 0 then
        msgbox "The current appointment has never been updated!", vbInformation + vbOkOnly, "SuperCOM"
    else
        msgbox "Current person was last updated by: " & _
        objSO.CurrentPerson.UpdatedAssociate.FullName, vbInformation + vbOKOnly, "SuperCOM"
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also