GetUserName
Retrieve the name of the user associated with the current thread.

 

 

 

Syntax:

 

 

     GetUserName () --> cUserName