title: GetUserName under MacOSX with Lazarus FPC
body: <p>i'm right now porting an application which was made for Window using Lazarus to MacOSX.</p>
  
  <p>I've a few WinAPI calls which i need to recode to make it work under Mac.</p>
  
  <p>Now i need to find out the user name of the current mac account which is logged in the OS.</p>
  
  <p>Any idea's how i do this under MacOSX with lazarus?</p>
  
  <p>greetings</p>