How can I find out the username of the person who is running an app. For instance, I have a program that a user uses to send information to a server app. but I would like to know the username that is submitting the data so I can add it to the data string being sent? Any ideas?

Thanks!