LOTUSSCRIPT/COM/OLE CLASSES


Examples: OrgUnit3 property
This agent creates a hierarchical name then displays its organizational unit 3 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 "Music"
 Messagebox nam.OrgUnit3,, "OrgUnit3"
End Sub

See Also