Re: Win32Lib getUserName() problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...

Your postings appear to contradict themselves (and the latest post seems to contradict itself), which is very confusing. Additionally, I admit that I did not know that XP's usernames were allowed to contain spaces.

Although this won't help you, I'd still appreciate it if a W32 guru could explain how usernames in XP are suppose to work.

Jim,

I'm sorry, but I don't see how my posts contradict themselves. Maybe if I summarise/summarize it will be clearer to me and/or you.

When Windows XP creates a user, it creates a folder inside which is everything that user has for himself. He also has a Name. For convenience that folder name is made equal to the first Name used. Thereafter if he changes his Name, the folder name is unchanged. You see I differentiate between the general word name and the word Name which is just, as in the old CB days, a handle. It is this handle I want(ed) to get. But the USERNAME as shown in the environment variables is the name of the folder. The folder name and any of the user Names may have spaces in if desired; I don't think that is an issue. And a user can change his Name as often as he likes.

This seems clear and consistent to me - but I wrote it! I know what I want to say. Everyone else has to read my words to get that information, and I just hope that they get the same information as I'm trying to convey.

If I have failed again then I will just retire from the fray as a failed communicator. It won't offend me, as long as I don't offend you. So Happy Christmas, or as I gather you say over the pond, Happy Holiday.

Andy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu