JAVA/CORBA CLASSES


getAgent method
Example

Finds an agent in a database, given the agent name.

Defined in

Database

Syntax

public Agent getAgent(String name)
   throws NotesException

Parameters

String name


Return value

Agent


Usage

The return value is null if the current user (as obtained by Session.getUserName) is not the owner of the private agent.

Language cross-reference

GetAgent method in LotusScript NotesDatabase class

AgentEdit @command of formula language

Example
See Also