Question

Looking for an API or something to start with so that I can pull the information contained in a users AD profile.

Not even sure how to start this so any direction on this is great. Im pretty new to C# and this is totally alien to me.

Was it helpful?

Solution

If you do some searching here on Stack Overflow, you'll find plenty of material to help you in this direction. For example: Get list of user in Active Directory.

To retrieve data for a single user, see Quick way to retrieve user information Active Directory.

OTHER TIPS

I recently completed a C# project using the

System.DirectoryServices
System.DirectoryServices.AccountManagement

namespaces. The API is comprised of Principals which include things like computers, controllers and people, and it reveals search functions to scour the Active Directory for your parameters. It's an elegant API and it's really easy to jump into. Here's a link to get you started: MSDN

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top