If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Redirect using Windows Authentication

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-26-04, 16:59
Rogal_Dorn Rogal_Dorn is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
Angry Redirect using Windows Authentication

Alright I am revamping my facilities intranet. One of the things my boss would like is for the user to be redirected to a page based on their job. He wants me to use NTLM and windows authentication to do this to make it easier for the end users. What is the coding to have the default page redirect using a domain group to the specified page.

example is a member of Domain group "a" opens there browser and is redirected to a.aspx.

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-03-04, 00:50
Rogal_Dorn Rogal_Dorn is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
I know how to redirect after login using forms and Passport, is there no way to do this? I know how to authenticate users using windows authentication, and allow or deny based on that. I figure that there should be a way to verify that a user is in a specific NTLM user group, then redirect based on whether they are or not. Please someone answer and let me know if this is at all possible.
Reply With Quote
  #3 (permalink)  
Old 04-13-04, 09:17
thele thele is offline
Registered User
 
Join Date: Jun 2003
Location: Ohio
Posts: 108
Post try this

This will get the user's domain and loginname:

------------------------------------
dim strUser
strUser = uCase(Request.ServerVariables("AUTH_USER"))
------------------------------------

I change it to Uppercase for easier data manipulation. The rest you should be able to do.

~Le
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On