LOTUSSCRIPT/COM/OLE CLASSES


Examples: OrgUnit1 property
This agent creates a hierarchical name then displays its organizational unit 1 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=Sales/OU=East/O=Acme/C=US")
 REM Returns "East"
 Messagebox nam.OrgUnit1,, "OrgUnit1"
End Sub

See Also