VB
==
Dim curUser As String = _
System.Security.Principal.WindowsIdentity.GetCurrent().Name
C#
==
String curUser =
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
www.codecollege.NET
0 comments
Post a Comment
Note: Only a member of this blog may post a comment.