Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : Get Domain name and user

www.cryer.info
Managed Newsgroup Archive

Get Domain name and user

Subject:Get Domain name and user
Posted by:"Steven" (s.aleot..@c-center.it)
Date:Mon, 17 Oct 2005 14:37:11 +0200

Hi..i need to know the complete name of a user logged on my computer.... i
mean "mydomain\username" or "myhost\username" if the user is not logged in a
domain.

Im using WnetGetUserName() and i get the username...but what about domain???

Im using D6.

Hi

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive