Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Apr : Computer User Name Accounts
| Subject: | Computer User Name Accounts |
| Posted by: | "Dominic" (dommy..@yahoo.com.au) |
| Date: | Mon, 16 Apr 2007 10:59:48 |
Hi
This is not a coding question as such but does involve a windows API.
Our software uses the GetUserName API to record the username that modified a
record. We do this because even though our own software has accounts built
in, in some cases, log in accounts are shared amoung employees.
Anyway, we have a client who's account name being returned by GetUserName
appears to belong to an ex-employee. The workstation that the ex-employee
was using is now being used my another employee who is logging into both the
workstation and our software under a totally different name. The
ex-employees account no longer exist on the workstation and the client does
not have a domain controller so accounts are setup and administered on a
workstation by workstation basis. The workstation in question was
cross-graded from Windows 2000 to Windows XP. When attempting to change
account details, only a name is available to change. Is it possible that
there is a Full Name and Username in the account and XP only allows you to
change Full Name from a migrated account from a previous OS.
Thanks
Dominic