Username gets the local user but often in a VPN or RAS scenario this is not accurate.
An Active Directory Web Service can give you a codeless method to both ID the form user and also access their's or other's information from Active Directory such as email address, department, manager, etc. This will also return the domain account in remote user scenarios.
Otherwsie you can write code or get username from SharePoint 2007