Home All Groups Group Topic Archive Search About

ASP.NET roles, authentication

Author
18 Mar 2005 7:20 PM
Neel
Hi all,
I am creating a web page (asp.net) with AD authentication (LDAP), I
have few set of roles created for this project.

I have roles1, roles2, roles3, roles4
Based on the above roles, i have to pull the data from a database for
that user.

Here are the steps, i plan to perform
1. Search AD pass a userid, get his credentials, roles
2. Based on the roles either in config file or an array from AD (Joe's
article using reflections) do other stuff


Can some some one point me in right direction asap?

I have searched web for AD stuff, i saw lot of very good articles
written/commented by Joe Kaplan.]

I want to use a proper security practice given by Microsoft for AD

can some provide me with some samples? i have looked into directory
searcher is there any other way to authenticate

Help me out
Neel

Author
18 Mar 2005 11:33 PM
Joe Kaplan (MVP - ADSI)
Hi Neel,

I'm glad you found the stuff I wrote to be useful.  Can you clarify what you
are trying to do?
- Are you using forms authentication or Windows authentication?
- For your roles, do you intend to use Active Directory group membership to
represent them, or something else?

I'm not sure what direction to point you in without a few more details.

Joe K.

Show quoteHide quote
"Neel" <nee***@gmail.com> wrote in message
news:1111173605.737045.155080@o13g2000cwo.googlegroups.com...
> Hi all,
> I am creating a web page (asp.net) with AD authentication (LDAP), I
> have few set of roles created for this project.
>
> I have roles1, roles2, roles3, roles4
> Based on the above roles, i have to pull the data from a database for
> that user.
>
> Here are the steps, i plan to perform
> 1. Search AD pass a userid, get his credentials, roles
> 2. Based on the roles either in config file or an array from AD (Joe's
> article using reflections) do other stuff
>
>
> Can some some one point me in right direction asap?
>
> I have searched web for AD stuff, i saw lot of very good articles
> written/commented by Joe Kaplan.]
>
> I want to use a proper security practice given by Microsoft for AD
>
> can some provide me with some samples? i have looked into directory
> searcher is there any other way to authenticate
>
> Help me out
> Neel
>