Examples: IsWebAgent property
This script determines whether the current agent is a Web agent.
Dim session As New NotesSession
Dim agent As NotesAgent
Dim db As NotesDatabase
Set agent = session.CurrentAgent
If agent.IsWebAgent Then
Messagebox "This is a Web agent."
Else
Messagebox "This is not a Web agent."
End If