Click or drag to resize

ISelectionMemberEmail Property

Returns the preferred email address (email with rank = 1) for the selection member

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

Property Value

Type: String
String – the email address (e.g. sdk@superoffice.com)
Examples

Email

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

This returns the preferred email address on the first selection member.

VB
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    set sele = objSO.currentSelection.SelectionMembers.item(1)
    msgbox "First selection member city: " & sele.email
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also