Published in: VB.NET
Retrieve current user identity
'retrieve current user identity Dim wi As Security.Principal.WindowsIdentity = Security.Principal.WindowsIdentity.GetCurrent() lblUserName.Text = wi.Name
You need to login to post a comment.
Beginning VB.NET
Visual Basic .NET is the latest version of the most widely used programming language in the world, popular with professional developers and complete beginners alike. This book will teach you Visual Basic .NET from first principles. You'll quickly and easily learn how to write Visual Basic .NET code and create attractive windows and forms for the users of your applications.
mafro on 04/27/07
Published in: VB.NET
Retrieve current user identity
'retrieve current user identity Dim wi As Security.Principal.WindowsIdentity = Security.Principal.WindowsIdentity.GetCurrent() lblUserName.Text = wi.Name
You need to login to post a comment.