LOTUSSCRIPT/COM/OLE CLASSES


Examples: PRMD property
This agent creates a hierarchical name then displays its PRMD name 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/A=acmeadmd/P=acmeprmd")
 REM Returns "acmeprmd"
 Messagebox nam.PRMD,, "PRMD"
End Sub

See Also