getAgent (Database - Java™)
Finds an agent in a database, given the agent name.
Defined in
Syntax
public Agent getAgent(String name)
throws NotesException
Parameters
String name
The name of the agent.
Return value
Agent
The agent whose name matches the parameter.
Usage
The return value is null if the current user (as obtained by Session.getUserName) is not the owner of the private agent.