LOTUSSCRIPT/COM/OLE CLASSES


Examples: OrgUnit4 property
This agent creates a canonical hierarchical name then displays its organizational unit 4 component.

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

See Also