In a non-networked setup where the user never bothered to enter a Windows
user name you see things like that all the time. This occurs more often with
home setups especially where no Windows logon or profiles are used. It also
can depend on the Windows version.
If you are writing code for a defined set of users, such as in a business
environment or Exchange environment you can restrict what you do because you
can define your environment. When coding for assorted possible users where
different setups, Windows and Outlook versions might be used you have to
expect Murphy's Law to take effect.
John Riddle said:
Really? I've never had that happen. For me and my users this always
returns the user profile logged into under Documents and Settings. Such as:
"username.userdomain" or just plain "username" or "username.userdomain.000",
but I've never seen "Dell Preferred User" (or anything like that). Under
what scenario would it return such a string?