Difference between revisions of "MAILUSERNAME()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to return current user name
 
Function to return current user name
Line 27: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Mail]]
 
[[Category:Mail]]
 
[[Category:Mail Functions]]
 
[[Category:Mail Functions]]

Revision as of 16:45, 3 December 2009

Purpose

Function to return current user name


Syntax

MAILUSERNAME()


See Also

CLOSEMAIL(), COUNTMAIL(), DELETEMAIL(), MAILCLOSE(), MAILCOUNT(), MAILDELETE(), MAILERROR(), MAILHEADER(), MAILNODENAME(), MAILOPEN(), MAILREAD(), MAILSEND(), OPENMAIL(), READMAIL(), SENDMAIL()


Description

The MAILUSERNAME() function will return the name of the user who is currently connected to the mail server, or an empty string if there is no connection. This function only operates with POP3 connections.


Example

? mailopen("mailserver.company.com","username","password")
.T.
? mailusername()
username


Products

Recital Server, Recital