IDocumentAssociate Property |
Author/owner of document
The document owner - in most cases this is the associate who created the document. The associate.loginname is used in the path to open the document (SO_arc\LoginName<Timeperiod><FileName>
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxSOAssociate Associate { get; set; }
Property Associate As SOAssociate
Get
Set
Dim instance As IDocument
Dim value As SOAssociate
value = instance.Associate
instance.Associate = value
property SOAssociate^ Associate {
SOAssociate^ get ();
void set (SOAssociate^ value);
}
Property Value
Type:
SOAssociateSOAssociate - object containing the owner of the document
ExamplesAssociate
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "Current document owner associate: " & objSO.CurrentDocument.Associate.FullName, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also