Hello,
How would you read active directory information, username, e-mail, ...
I am using VB in my asp.net and I do not think that we use LDAP, so it
should be WinNT. can anyone give me a code sample?
Thanks,
Jim. 4 1165
Hi Jim, I've not tried this but found an article within the MSDN version
supplied with .Net that has the heading
"Using System.DirectoryServices to Search the ActiveDirectory"
Regards
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com... Hello, How would you read active directory information, username, e-mail, ... I am using VB in my asp.net and I do not think that we use LDAP, so it should be WinNT. can anyone give me a code sample? Thanks, Jim.
LDAP is just a protocol, which you DO use to query Active Directory. There
are several articles listed on the following page: http://dotnetjunkies.com/WebLog/darr.../08/35643.aspx
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:07**********************************@microsof t.com... Hello, How would you read active directory information, username, e-mail, ... I am using VB in my asp.net and I do not think that we use LDAP, so it should be WinNT. can anyone give me a code sample? Thanks, Jim.
I am doing trying to follow http://msdn.microsoft.com/library/de...etADSearch.asp
When I type Imports System.DirectoryServices on type of my source code I see
System.DirectoryServices is underlined with blue, meaning not recognized. DO
I have any setting missing in my environment?
Thanks,
Jim.
"Kevin Spencer" wrote: LDAP is just a protocol, which you DO use to query Active Directory. There are several articles listed on the following page:
http://dotnetjunkies.com/WebLog/darr.../08/35643.aspx
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer Neither a follower nor a lender be.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message news:07**********************************@microsof t.com... Hello, How would you read active directory information, username, e-mail, ... I am using VB in my asp.net and I do not think that we use LDAP, so it should be WinNT. can anyone give me a code sample? Thanks, Jim.
Ok. Added it through references
"JIM.H." wrote: I am doing trying to follow http://msdn.microsoft.com/library/de...etADSearch.asp
When I type Imports System.DirectoryServices on type of my source code I see System.DirectoryServices is underlined with blue, meaning not recognized. DO I have any setting missing in my environment? Thanks, Jim.
"Kevin Spencer" wrote:
LDAP is just a protocol, which you DO use to query Active Directory. There are several articles listed on the following page:
http://dotnetjunkies.com/WebLog/darr.../08/35643.aspx
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer Neither a follower nor a lender be.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message news:07**********************************@microsof t.com... Hello, How would you read active directory information, username, e-mail, ... I am using VB in my asp.net and I do not think that we use LDAP, so it should be WinNT. can anyone give me a code sample? Thanks, Jim. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mario Rodriguez |
last post by:
Hi people. I have a problem adding users to Win2003 active directory
programatically. When I execute my app throws the following exception:
.................The specified directory service...
|
by: Andrew |
last post by:
Hey all,
Working on revamping our Intranet here and making use of the LDPA, Active
Directory, Directory Services, etc. that .Net provides. I am still fairly
new on this subject, so the problem...
|
by: Leo_Surf |
last post by:
Hello,
I need your help adding user in Active Directory from ASP.net website. Could
any one provide me the complete code for the html page. As this is my
curriculam project and I dont have any...
|
by: tangus via DotNetMonster.com |
last post by:
Hello all, I'm really struggling with getting some Active Directory code to
work in ASP.NET. Can you please provide assistance? I am executing the
following code:
Dim enTry As DirectoryEntry =...
|
by: Hriday |
last post by:
Hi there, Please help me..It is urgent
This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to...
| |
by: RTT |
last post by:
here is my current situation. I develop a program on my computer's
localhost. From there i contact Active directory succesfull using a
connectionstring like:...
|
by: FrankieBakerJr |
last post by:
Hello all
I have an ASP.NET 2003 application (running Windows XP) that allows user to change and reset their Active Directory password. I'm using an admin account to query and reset the passwords...
|
by: Chris Noble |
last post by:
I need to be able to read and add to the collection of email addesses for an
Active Directory User with a mailbox. I assume that this is a collection
object.
However I can't find any help on which...
|
by: dhanashivam |
last post by:
Hi All,
I am using the DirectorySearcher class for reading the active directory users. But the result shows the IUSR accounts also.
I dont want to take the IUSR accounts.
So please help...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |