.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

APPLICATION DESIGN


Example: Using the DocumentContext property in Web agent scripts
This script uses the Print statement and the CGI variable remote_user to display "User =" and the Web user's name. The script sets the DocumentContext before executing the rest of the script. The variable assumes a text list.

Dim session As New NotesSession
Dim doc As NotesDocument
Set doc = session.DocumentContext
Print "User = " + doc.remote_user(0)

Note HTML generated by a Web agent does not include the <TITLE></TITLE> tags.

See Also