LOTUSSCRIPT/COM/OLE CLASSES


Examples: Canonical property
This agent creates an abbreviated hierarchical name then displays it in canonical format.

Sub Initialize
 Dim session As New NotesSession
 Dim nam As NotesName
 REM Create a hierarchical name
 Set nam = session.CreateName( _
 "John B Goode/Sales/East/Acme/US")
 REM Returns "CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US"
 Messagebox nam.Canonical,, "Canonical name"
End Sub

See Also