Lotusscript Manager - Feature Request: [to do] get servernames from local address book
Needed code found in domiclipse.net
// Get the current location document.
// The location variable should look like "Online,1A3,CN=Joe Bloggs/O=ACME",
// where 1A3 is the noteid of the location document.
String location = session.getEnvironmentString( "location", true ) ;
String[] words = location.split(",") ;
String locationNoteID = words[1] ;
// get the location document from the local names.nsf
Database localNAB = session.getDatabase("", "names.nsf" ) ;
Document locationDoc = localNAB.getDocumentByID( locationNoteID ) ;
// add all the servers from the $SavedServers item
Vector<String> savedServers = locationDoc.getItemValue( "$SavedServers" ) ;
serverNames.addAll( savedServers ) ;
Taken Actions by Owners