Domino Code Fragment
Code Name* CommonUserName property | Date* 05/14/2024 | Source (or email address if you prefer)* Rlatulippe@romac.com IP address:.3.21.34.105 | |
Description* The following agent prints the common user name. | Type* Java | Categories* (Misc) |
Implementation: | Required Client: | Server: |
Limitations: | Comments: |
public class commonusernameagent extends AgentBase
{
public void NotesMain()
{
try
{
Session s = getSession();
String u = s.getCommonUserName();
System.out.println("Common user name = " + u);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}