Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey guys, I was developing an application and was told I need to use active directory for users authentication and authorization.

I had never even heard of active directory.

My question is after setting up the connection string how do I use this on an asp.net web api 2?

I have read some information about this on the internet but I'm sincerely not getting the gist of it... please help.
Posted

1 solution

Active Directory is available in many organizational systems where they allow users to log in to multiple applications or services using their single credentials all across multiple service servers. For example, you can take the example of Microsoft's Azure. You can create 10 different web applications (services) to facilitate users. You don't want to create a separate log in system for every website, and so on... You use the Active directory to allow users to use their organizational credentials to sign in to all of these services...

ASP.NET allows you (at the project creation time) to select whether you want Individual accounts or Organizational accounts, under Organizational accounts, you get to use an Active directory (from some provider) such as Microsoft Azure's directory. Please read this document[^] to learn more on this.
 
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