"Refusal Access" error that resolves user changes in the thread created by ASP.NET
Users in ASP.NET created by to NT Authority / Network Service, causing "System.unauthorizedAccessException", "Reject Access"
Dim Thr as threading.thread Diml as system.security.principal.windowsidentity
Function print () thr = new threading.Thread (addressofprintautocad) thr.start () l = system.security.principal.windowsidentity.getCurrent End Function
Private sub printautocad () system.security.principal.windowsidentity.impersonate (L.Token) ... End Function