472,958 Members | 1,527 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

LDAP question

Rob
Hi everyone,
I have a task to do on our current existing website wich is a .aspx+C#. What
I need to add, is to create an authentication form and then based on user's
privillage give him ability to view some pdf documents. So I was wondering if
C# is the right language to do this task and also if someone know any
resource or example code for me to learn how to work with Active Directory
LDAP to authenticate users.
thanks for any advice-Rob
Nov 28 '05 #1
4 1316
Yep, you can do this with C# or any other .NET language. You'll have to use
System.DirectoryServices namespace to accomplish your tasks.

DirectoryEntry is the class to work with Active Directory data...

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hi everyone,
I have a task to do on our current existing website wich is a .aspx+C#. What I need to add, is to create an authentication form and then based on user's privillage give him ability to view some pdf documents. So I was wondering if C# is the right language to do this task and also if someone know any
resource or example code for me to learn how to work with Active Directory
LDAP to authenticate users.
thanks for any advice-Rob

Nov 28 '05 #2
Rob
Hi Vadym,
Can you tell me where I can see some examples of authentication against AD,
and maybe source to read.
Thanks-Rob

"Vadym Stetsyak" wrote:
Yep, you can do this with C# or any other .NET language. You'll have to use
System.DirectoryServices namespace to accomplish your tasks.

DirectoryEntry is the class to work with Active Directory data...

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hi everyone,
I have a task to do on our current existing website wich is a .aspx+C#.

What
I need to add, is to create an authentication form and then based on

user's
privillage give him ability to view some pdf documents. So I was wondering

if
C# is the right language to do this task and also if someone know any
resource or example code for me to learn how to work with Active Directory
LDAP to authenticate users.
thanks for any advice-Rob


Nov 28 '05 #3
We have an LDAP server that does not use AD. If this is the case with
you you might want to check out
http://www.novell.com/coolsolutions/feature/11204.html

Nov 29 '05 #4
Rob
No, i want to use AD, since all my users have a Windows account.
Rob

"David" wrote:
We have an LDAP server that does not use AD. If this is the case with
you you might want to check out
http://www.novell.com/coolsolutions/feature/11204.html

Nov 29 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: dmcconkey | last post by:
Hi folks, I've been searching for a while and haven't found my specific question anywhere else. If this has already been asked, please accept my appologies and point me to the appropriate...
3
by: Fie Fie Niles | last post by:
We need to use LDAP in conjunction with our ASP pages. Are there LDAP API that can be used either from VB or VBScript ? Where can I find sample codes for it ? Thank you very much.
7
by: Amar | last post by:
I am trying to connect to my college LDAP directory using ASP.NET. This LDap does not have security as it returns only user demographic information. i do not need to bind with a username or...
0
by: Ronald Wunderlich | last post by:
Hi, My first Question: can db2 (db2ckpw) ask over pam_ldap my edirectory ldap server for user authentication? The scenario: 1. computer suse linx enterprise server 8(SLES8) and edirectory...
0
by: Tim::.. | last post by:
Question 1... Hi can someone please tell me why I can't put the following LDAP string into my web.config fill as an <appSetting> <appSettings> <add key="strLDAP"...
8
by: BookerW | last post by:
I have the following line of code, but i don't think i am providing the right syntax: Dim oAllEntries As New DirectoryEntry(LDAP & LDAP_DOMAIN_SERVER & LDAP_USERS, LDAP_DOMAIN & sUserName,...
4
by: Terry Miller | last post by:
I have DB2 V8.2 loaded on a Redhat Enterprise Linux version 3 (RHEL 3) box. RHEL is configured to talk to LDAP for authenticaton besides the local passwd file. I can verify this by executing an su...
1
by: Laszlo Nagy | last post by:
Hello, I'm using the ldap module under Windows. This is the error that I get: import ldap l = ldap.initialize("ldaps://neptunus.msnet:636")...
8
by: sphinney | last post by:
All, I posted a question yesterday about automatically sending emails with VBA in Access 2002. That post was wonderfully answered by Mr. Doherty. Now I have a follow up question. Can anyone...
1
by: dmf | last post by:
Hi, I have a question regarding using SSL connections with LDAP. Background: We have a sun server, and PHP has been compiled against the LDAP libraries provided by Sun. Almost everything I...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.