Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi! I want to make a gui which I could use to submit data and create/update a user in active directory. Meaning is, that when I click submit, the data is sent to AD and user is created. I was researching a lot, but couldn't find anything like this that could help me, so I am turning to your help. I want to know which language do you recomend? Should I use powershell or should I use a more objective oriented language like C#?

Thanks

What I have tried:

I just have tried scripting to add user. But is not what i want.
Posted
Updated 8-Jun-18 3:53am
Comments
Richard MacCutchan 8-Jun-18 9:50am    
You could use a C# Windows Form as front end to a powershell script. Although you can access many of the features of powershell direct in .NET.
[no name] 8-Jun-18 13:26pm    
Doesn't sound like a "legitimate" requirement to me.
phil.o 8-Jun-18 17:55pm    
I've been working for a school for a few years, every year at the end of summer holidays, we had to create hundreds of user accounts and groups, as well as update existing groups.
Crafting a tool which allows to do that in a few hours instead of a few days is a perfectly legitimate requirement, imho :)
There exist some tools like wix to do the same kind of thing.
[no name] 8-Jun-18 19:26pm    
If a solution exists, than "rolling your own" is not doing anyone any favors.

1 solution

There exists a System.DirectoryServices[^] namespace holding a bunch of useful objects when dealing with Active Directory services. This is a .NET feature, so you would have to adopt one of the languages supported by the framework (c#, vb.net, f#...).

There are also a bunch of articles here on CP which deal with the subject:
Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900