Re: ASP.NET with ADirectory role based authentication
From: Mohamed Sharaf (Mohamed.Sharaf_at_egdsc.microsoft.com)
Date: 08/29/04
- Next message: Dan Amiga: "Re: DPAPI and config files"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Asp.net impersonate"
- In reply to: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Next in thread: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Reply: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 29 Aug 2004 09:11:04 GMT
Hi,
You need to do two things
1) Write a function to retrieve the groups of the user
(you can find a sample here
http://www.wwwcoder.com/main/parentid/260/site/2208/68/default.aspx)
2)In the Application_AuthenticateRequest, you need to build your user data
by adding the groups you got from the previous step to the principal object.
All the steps you can find it in this MSDN article.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/act
ive_directory_authentication_from_asp__net.asp
I hope that helps
Mohamed Sharaf
MEA Developer Support Center
ITWorx on behalf Microsoft EMEA GTSC
- Next message: Dan Amiga: "Re: DPAPI and config files"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Asp.net impersonate"
- In reply to: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Next in thread: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Reply: naijacoder naijacoder: "Re: ASP.NET with ADirectory role based authentication"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]