🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #2729

intecettare lo username attivo

#2729
From: == U |< E \/ | |\| E T ==
Date: Mon, 03 Mar 2003 22:47
19 lines
1733 bytes
Salve a tutti.

Ho un problemino.. devo intercettare lo lo username attivo di windows.. cio�
se entro come KEVIN dovrei farmi stampare su di un txt il nome Kevin, se
entro come Admin devo avere il nome Admin e cos� via.

Non mi serve l'acquisizione della psw (non lo faccio per scopi "bellici"),
ma solo per un controllo...

Ho gi� provate l'api di winzozz GetUserName e GetUserNameW, ma mi
restituiscono campi vuoti (l'exe che sto creando con VB6 deve girare sia
sotto XP che sotto win 98).

Facile invece riuscire a catturare l'ora e la data di accesso dello user, ma
lo username non riesco prorpio.. avete suggerimenti?

Grazie a tutti e a presto

UKeviNet
Technical Details
Message-ID: <rYQ8a.175129$ZE.5245901@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,8b8087e50c597a9c,start
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-03-03 14:47:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "== U |< E \\/ | |\\| E T ==" <emaboni@libero.it>
Newsgroups: free.it.visual-basic
Subject: intecettare lo username attivo
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <rYQ8a.175129$ZE.5245901@twister2.libero.it>
Date: Mon, 03 Mar 2003 22:47:51 GMT
NNTP-Posting-Host: 151.25.109.62
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1046731671 151.25.109.62 (Mon, 03 Mar 2003 23:47:51 MET)
NNTP-Posting-Date: Mon, 03 Mar 2003 23:47:51 MET
Organization: [Infostrada]