Agents (NotesDatabase - JavaScriptâ„¢)
Read-only. All of the agents in a database.
Defined in
NotesDatabaseSyntax
getAgents() : java.util.VectorUsage
The elements of the return vector are of type NotesAgent.The return vector includes only shared agents.
The database must be open to use this property.
Examples
This data binding for a multiline edit box displays the names of the shared agents in the current database.var agents = database.getAgents().iterator();
var list = "";
while (agents.hasNext()) {
list = list + agents.next().getName() + "\n";
}
return list
Language cross-reference
Agents property in LotusScript® NotesDatabase classAgents property in Java Database class