Author: joseph20 | Posted on: 7/23/2008 7:03:33 AM | Views : 297


 Hi All,


 I have some question which is related to my scenario, web application is running on windows 2003 server (Server 1) which is a domain controller.

 i have created domain users with the administrator level permission.

 in the IIS only integrated windows authentication is enabled. and in web.config

 <identity impersonate="false" />


 and i am impersonating the user in the below code:

 Public Sub Impersonation()

 Dim identity As String = System.Security.Principal.WindowsIdentity.GetCurrent().Name
        Dim slash As Integer = identity.IndexOf("\")
        If slash > 0 Then
            Dim domain As String = identity.Substring(0, slash)
         &nbs ...

Go to the complete details ...