Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .NET with Active Directory

Reply
Thread Tools

ASP .NET with Active Directory

 
 
Eman
Guest
Posts: n/a
 
      04-04-2005
Hi,

I'm new with .net technology, currently I'm developing an application
by using ASP .net, I want to link it with the Active Directory on the
Domain Controller. I know that I should add Directory Services as a
reference, but my problem is that I don't know how to start
translating the application scenario into code, first I want to do a
logon page, the application should check the user name and password
and make sure the person is manager to let him logon the application,
then it should display the employees' names that r working in the
manager department (each manager with different stuff).. can anybody
give me a hint to start writing my application ?


waiting your reply, Thanks alot
Posted at: http://www.groupsrv.com

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
 
Reply With Quote
 
 
 
 
Jason Bentley
Guest
Posts: n/a
 
      04-04-2005
Eman, start here:
http://www.ondotnet.com/pub/a/dotnet...activedir.html. Google
has hundred of resources if you search for them:
http://www.google.com/search?hl=en&q...oryServices%22

Jason Bentley
http://geekswithblogs.net/jbentley

 
Reply With Quote
 
 
 
 
Paul Glavich [MVP ASP.NET]
Guest
Posts: n/a
 
      04-04-2005
Firstly, the authentication part can be done without any code by simply
using Windows Integrated authentication and the role definitions you allow
in the web.config (ie. <allow roles="somerole" />)

So thats the auth part taken care of. You can then lookup the object
attributes such as the full name by doing a simle LDAP lookup.

This link may help
http://msdn.microsoft.com/library/de...yhierarchy.asp
http://msdn.microsoft.com/library/de...ectoryadsi.asp

--

- Paul Glavich
ASP.NET MVP
ASPInsider (www.aspinsiders.com)


"Eman" <(E-Mail Removed)-spam.invalid> wrote in message
news:4250c431$1_3@127.0.0.1...
> Hi,
>
> I'm new with .net technology, currently I'm developing an application
> by using ASP .net, I want to link it with the Active Directory on the
> Domain Controller. I know that I should add Directory Services as a
> reference, but my problem is that I don't know how to start
> translating the application scenario into code, first I want to do a
> logon page, the application should check the user name and password
> and make sure the person is manager to let him logon the application,
> then it should display the employees' names that r working in the
> manager department (each manager with different stuff).. can anybody
> give me a hint to start writing my application ?
>
>
> waiting your reply, Thanks alot
> Posted at: http://www.groupsrv.com
>
> Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
> ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ----------------------------------------------------------
> http://www.usenet.com



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() are not returning the specified directory Nathan Sokalski ASP .Net 2 09-06-2007 03:58 PM
Active Directory Search fails ("The directory service is unavailab ejcosta ASP .Net Security 2 10-08-2004 09:57 AM
Active Directory information in .ASP Frank ASP .Net 0 08-25-2003 11:54 AM
ASP ERROR: error '8002801d' -> Library not registered. : my Active Server Pages are not so active. carlos seramos ASP General 2 08-01-2003 02:57 AM
Do you need Framework 1.1 to access Active Directory objects on a Windows 2003 server with ASP.NET? Michael ASP .Net 1 07-31-2003 07:03 AM



Advertisments