This topic is locked

Sharepoint Server

5/29/2008 9:11:50 AM
ASPRunnerPro General questions
jadach authorDevClub member

I have numerous ASPRunner projects running on a Windows 2003 server. In most of these apps, there is an admin section that's accessed via a login. The login was built with ASPRunner.
I need to install these apps on the SharePoint server and made available through a SharePoint portal. I would like to not have the admin users login. I want them to be authenticated via Active Directory.
I see the thread about Single Sign-on by using the following code:
if Request.ServerVariables("LOGON_USER")<>"" then

SESSION("UserID") = Request.ServerVariables("LOGON_USER")

SESSION("AccessLevel") = ACCESS_LEVEL_USER

Response.Redirect "..._list.asp"

end if
I'm confused as to how to set this up. Do I need to have a user table that mirrors Active Directory login details?
Thanks for any help.

Sergey Kornilov admin 6/3/2008

Just add this code to Login page BeforeProcess event and you are golden.

jadach authorDevClub member 6/5/2008

So, when I'm building the project, I don't need to add a login page? Just add this code as you described?

Just add this code to Login page BeforeProcess event and you are golden.