Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Best way to add objects to Active Directory with C#

$
0
0

Hey,

I am wondering what would be the best and easiest way to populate an active directory with this given:

I have an IEnumerable list of user objects with these properties: (all of them are strings)

                    Firstname
                    Lastname
                    Username
                    Email
                    Password
                    ChangePassNextLogin
                    PassExpires
                    Disabled
                    ParentOU
                    Groups
                    Roaming

No I want to do something like:

foreach(user in users)
{

add user to directory with properties

}

Can somebody give me some guidance thanks!


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>