< Back

Document Subject: Get List Of Servers
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#ListOfServers or http://A555F9/nn.nsf/ByAlias/ListOfServers

Here is a way of getting a list of lotus notes servers a user might have access to.




 

 

REM { from http://www.notesninjas.com/#ListOfServers };
r:=@DbColumn(""@Subset(@MailDbName;1):"names.nsf""Servers"3) ;
s:=@DbColumn(""@Subset(@DbName;1):"names.nsf""Servers"3) ;
sc:= @DbColumn("" @Subset(@MailDbName;1):"names.nsf" "($Connections)" 3);

u:=@DbColumn("""":"names.nsf""Connections"2);
@Sort(
@Unique(
@Name([Abbreviate];
@Subset(@MailDbName;1):
@Subset(@DbName;1):
@If(@IsError(r);""r):
@If(@IsError(s);""s):
@If(@IsError(sc);""sc):
@If(@IsError(u);""u)
)))

 

I do not know a way of getting the servers from the workspace. This list will be pretty exhaustive though.

You could probably get more by looking at pass throuh servers in the location documents, checking more documents in the NAB (name and address book) .

 

A better way of getting a database and server is to use:  http://www.notesninjas.com/#DatabasePicker