Re: Active Directory and ASP.NET 2.0
- From: "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Jun 2006 09:35:29 -0500
Glad that helped. It only works when you can use Windows authentication,
but when you can, it works much better. :)
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"NancyA" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9A91D294-3964-4FD4-91C0-D5A406CC557C@xxxxxxxxxxxxxxxx
Gee, that was really easy! Thanks for the very clear response. I am now
using WindowsIdentity and WindowsPrincipal.IsInRole and it works
beautifully
without needing to go to LDAP!
"NancyA" wrote:
Hi -
I am successfully able to retrieve tokenGroups data for a given
sAmAccountName from a .NET 2.0 web page. However, I'm still in test mode
on
my own machine. What will I need to do to access AD from the web page
when
it goes out on a corporate IIS server? Do I need to use a specific
account
when creating the DirectoryEntry object? This is for an intranet website
using Windows authentication so I'll know that any users are members of
AD.
Thanks
.
- Prev by Date: Re: Help : Access denied ???
- Next by Date: Re: IDentifiy user acl on a folder ????
- Previous by thread: Re: Active Directory and ASP.NET 2.0
- Next by thread: Re: permission for socket access
- Index(es):
Relevant Pages
|
|