WNetGetUser - what is the syntax in vb.net?

  • Thread starter Thread starter NevH2001
  • Start date Start date
N

NevH2001

Hi all,
I'm trying to get the network user by calling the WNetGetUser in vb.net, what
is the syntax?
thanks
Nev
 
On 30 Apr 2004 12:25:42 GMT, (e-mail address removed) (NevH2001) wrote:

¤ Hi all,
¤ I'm trying to get the network user by calling the WNetGetUser in vb.net, what
¤ is the syntax?
¤ thanks
¤ Nev

Try:

System.Security.Principal.WindowsIdentity.GetCurrent.Name.Split("\"c)(1)


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Back
Top