<HTML>
<BODY>

<%
' Impersonate an NT account
Set AU = Server.CreateObject("Persits.AspUser")
AU.LogonUser "mydomain", "myuser", "xxxxx"

' The following commands will be executed in the security context of myuser
%>

...

</BODY>
</HTML>