473,386 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Programmically Add Users & Groups

Is there a way in VB.NET to programmtically add NT users and groups? Is
there a difference with Windows NT Server, Server 2003, Windows XP? Is
there a namespace to do this type of thing?

Derek Hart
May 8 '06 #1
1 1170
Derek,

The namespace you're looking for is System.DirectoryServices. Here's a
link to a quick walkthrough for adding objects.
http://msdn.microsoft.com/library/de...dsiobjects.asp

I have a couple small support utilities that use the library and I
haven't had any problems running it on 2000/2003/XP. NT, however, I am
unsure of.

May 8 '06 #2

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

Similar topics

0
by: James | last post by:
Hello All, I am working in a Windows NT domain environment, working with C#. What I want to be able to do is view all the groups a user belongs to, and also be able to add the users to groups. ...
1
by: Sebastian Santacroe | last post by:
Hello, I've got a datagrid with two columns and no data. I want to add data programmically (from DB). When I try to use sintax like: dataset.Tables("Department").Rows(0).Item("Percentage Used")...
2
by: Agnes | last post by:
I set my datagrid's datasource programmically . However , as the form load, I found that every column width is the same, Question 1) How can i adjust it programmically ??? Question 2) I need to do...
2
by: cr113 | last post by:
I want to write program that will establish a dialup connection from a standalone pc to a private network and then copy files. The program will reside on the standalone pc. Is there .NET object for...
0
by: ward | last post by:
Greetings. Ok, I admit it, I bit off a bit more than I can chew. I need to complete this "Generate Report" page for my employer and I'm a little over my head. I could use some additional...
1
by: Derek Hart | last post by:
Is there a way in VB.NET to programmtically add NT users and groups? Is there a difference with Windows NT Server, Server 2003, Windows XP? Is there a namespace to do this type of thing? Derek...
3
by: Cindy H | last post by:
Hi I have a webpage with a link to a pdf file on it. Right now the user has to click on the pdf file link to open and display the file. Does anyone know how I can get the web page to just open...
2
by: tee | last post by:
Hi, How do i sort datagridview programmically, current i have the following code but i keep get the error saying "DataGridView control must be bound to an IBindingList object to be sorted.", ...
1
by: =?Utf-8?B?S2F1c2g=?= | last post by:
Greetings, I am working on an application that will remove the NT authority/Authenticated users group and add IIS_wpg group along with other groups on IIS virtual directories. Can some one help...
0
by: Structured Chaos | last post by:
I am looking for example code and articles on creating a custom tab in AD Users & Groups user properties (like the Exchange add-in). Any direction is greatly appreciated. TIA
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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...
0
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,...
0
jinu1996
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 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.