Mac Hyp: Getting the Name of Currently Logged On User (62052)



The information in this article applies to:

  • Microsoft Mail Software Development Kit (SDK) for HyperCard 2.0
  • Microsoft Mail Software Development Kit (SDK) for HyperCard 3.0

This article was previously published under Q62052

SUMMARY

The following syntax returns the name of the user who is currently signed on to Microsoft Mail. If the workstation desk accessory (DA) is logged in to a different account than the application (stack), then the user name returned will be the one the stack is logged in as.
   msmail(getUserName [,extended]) => data
				
If "extended" is true (the default), the name is returned in the form "userName@serverName."

This information is taken from the "Microsoft Mail HyperCard Interface Documentation."

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:KB62052