Returns the name of the Domino® server and the name of the current user's mail database.
@MailDbName
Server : path
Text list with two elements:
This element is an empty string ("") if:
Use @Name to extract a part of the name; for example, [CN] to extract the common name.
This function works in any formula except column formulas. When a formula runs on a server, the server is considered the current user, so @MailDbName returns the server's mailbox.
The returned value is formatted as a two-item text list specifying Server : Directory\Database.NSF, as in:
CN=acmemail/O=Acme : mail\dlee.nsf
If the database is stored on the user's own computer, Notes/Domino returns the empty string for the server name. For example, user Debbie Lee may keep a local replica of her Mail database on her workstation; when she is set up for workstation-based mail, @MailDbName returns:
"" : mail\dlee.nsf
This is useful in applications that send mail; for example, you can use it to determine whether the current user is set up for server-based mail, and determine the appropriate course of action based on the result.
You cannot use this function in Web applications.
@MailDbName
@Subset(@MailDbName;-1)
@Subset(@MailDbName;1)
@Name([CN]; @Subset(@MailDbName; 1))
GetUserInfo method of LotusScript® NotesRegistration class
getUserInfo method of Java™ Registration class