I created the following subroutine in the OnLoad event of a web form so that the username of the currently logged on user
is retrieved from the active directory and displayed on the form :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim myResult As Director ...
Go to the complete details ...