Click or drag to resize

ISelectionUpdatedAssociate Property

The last user to modify the object The last associate that updated this selection object. If the selection 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 project.

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

See Also