473,785 Members | 2,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Directory Services!!

Hi Folks,
Not sure if there is forum for vb.net coding using directory services? but I
looking for sample vb.net code to move users into OUs in active directory.
I have original code using ADSI that allows me move users between OUs but
ADSI scripting does not work in .net development environment.

If anyone direct me to a good location on programming active directory and
partiularly on Organizational Units or even can I use my ADSI scripting in
..net environment and if so what imports or references I need to use.

Cheers,
Liam

Aug 10 '07 #1
1 1164
There are a few books on this topic. One is
http://www.apress.com/book/bookDisplay.html?bID=265

Apart fromt this, a Google search on .NET and DirectoryServic es will get you
enough tutorials, samples, code.

"Liam Mac" wrote:
Hi Folks,
Not sure if there is forum for vb.net coding using directory services? but I
looking for sample vb.net code to move users into OUs in active directory.
I have original code using ADSI that allows me move users between OUs but
ADSI scripting does not work in .net development environment.

If anyone direct me to a good location on programming active directory and
partiularly on Organizational Units or even can I use my ADSI scripting in
.net environment and if so what imports or references I need to use.

Cheers,
Liam
Aug 10 '07 #2

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

Similar topics

0
3454
by: Amol Shambharkar | last post by:
Hello Everyone, I am hoping someone could help me out with this.I am using Visual Studio .NET 2003 to create a web application on a remote IIS 5.0 server using the File Share web access method.The problem is I get the following two errors everytime I try to create the application: Error 1: The web was created successfully, but an error occured trying to configure the application root of this web.Web projects may not operate correctly...
4
662
by: David Moore | last post by:
Hello I am using the System.DirectoryServices namespace classes to access Active Directory. We connect using the LDAP://DOMAIN method. The code works on local dev boxes, and in staging, but doesn't work on a particular box in our production environment. When we try to connect and do a search, we get a "The authentication mechanism is unknown" error. I have searched on Google, Microsoft Support Knowledge Base and Yahoo etc, and found this...
1
1465
by: Rajeev | last post by:
Hi I have an application where we read the login name of the user from Windows Domain and see if the user is logged in or not. I would like to know if there is a way to read the login name of user from Novell Directory services. Thanks
0
1431
by: David | last post by:
Hi. My company is using iPlanet's LDAP directory. I developed a web service that authenticates users against ldap and returns certain attributes back. I am using directory services library for that. Can someone tell me how I can force DirectoryEntry object to refresh or clear the schema information if no changes were done to the schema on ldap end. Here is the description of my problem:
0
1589
by: Tom T | last post by:
I want to get a users SMTP address by passing in the NT credentials using some C# code. The environment is NT4 domains (NT4 and NT2000 servers) and Exchange 5.5. (Active directory is not used) The NT4 environment uses 'objectsid' to hold the NT Account. Exchange 5.5 uses 'assoc-nt-account'. Although I can interrogate the two values in both environments using C#
1
1438
by: Sivaraman.S | last post by:
I am unable to create new users using directory services in Windows 2003 server. But it is possible to create users with ASP.NET applications in windows 2000. I am getting "Permission Denied" and the "General access denied error " error. Can you please some code samples or solution for the problem.
1
1993
by: Raghu | last post by:
If a company has windows machines but the directory services is not active directory (say novell's eDirectory for whatever reason and users are authenticated against this non-AD directory services), will the WindowsIdentity object (obtained through WindowsIdentity.GetCurrent static method) in any .net application have necessary group memberships available? Since ldap group implementation in each directory service vendor vary...
0
1016
by: Rayne | last post by:
I'm creating an application (VB 2005) that I want to use Directory Services with. I've got 2 class functions - 1 checks for a group. the other is supposed to retrieve the user's full name. My code is as follows: Dim entry As New DirectoryEntry("LDAP://") Dim search As DirectorySearcher = New DirectorySearcher(entry) search.Filter = "SAMAccountName=" & _userName ** search.PropertiesToLoad.Add("displayName")
1
1138
by: =?Utf-8?B?TGVl?= | last post by:
Can terminal server properties be accessed through directory services? If so, how. I can read the "standard" properties, just not the TS ones.
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10091
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
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 we have to send another system
3
2879
bsmnconsultancy
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.