FORMULA LANGUAGE


@MailDbName
Example

Returns the name of the Domino server and the name of the current user's Mail database.

Syntax

@MailDbName

Return value

server; path

Text list with two elements:


Usage

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 name of the server.

The returned value is formatted as a two­item text list specifying the Server;Directory\Database.NSF, as in:

ACMEMAIL;LEGAL\DLEE.NSF

If the database is stored on the user's own computer, Notes/Domino returns the null string for the server name. For example, dial up 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:

;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.

Language cross-reference

GetUserInfo method of LotusScript NotesRegistration class

getUserInfo method of Java Registration class

Example
See Also