Click or drag to resize

IRelationCreatedAssociate Property

The user that created the object The associate that first created the relation

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

Property Value

Type: SOAssociate
SOAssociate - object containing the creator of the project

Implements

IModelBaseCreatedAssociate
Examples

CreatedAssociate

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
    set relation = objSO.CurrentRelation
    msg = "The internal identity = " & relation.identity & vbCrLf
    msg = msg & "Originally made by: " & relation.CreatedAssociate.Fullname & vbCrLf
    msg = msg & "when: " & relation.CreatedDate & vbCrLf
    msg = msg & "Changed by: " & relation.UpdatedAssociate.Fullname & vbCrLf
    msg = msg & "when: " & relation.UpdatedDate & vbCrLf
    msgbox msg, vbInformation + vbOkOnly, "Current relation: "
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also