如何在asp.net web api上使用活动目录 [英] How do I use active directory on an asp.net web api

查看:58
本文介绍了如何在asp.net web api上使用活动目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我被要求在asp.net web api上实现活动目录,我从未使用过这个......所以有什么要求吗?我应该知道任何常见的困难吗?我该怎么办?任何提示,示例?

Hey guys, I've been asked to implement active directory on an asp.net web api, I've never worked with this so... are there any requirements? Any frequent difficulties I should know? How should I do it? any tips, samples?

推荐答案

您将使用System.DirectoryServices命名空间,https://msdn.microsoft.com/en-us/library/system.directoryservices(v=vs.110).aspx [ ^ ]



这是一篇很好的文章:使用.NET类和LDAP查询查询Active Directory [ ^ ]



另外,你可以只需谷歌搜索c#ldap示例并找到更多内容。
You'll use the System.DirectoryServices namespace, https://msdn.microsoft.com/en-us/library/system.directoryservices(v=vs.110).aspx[^]

Here is a good article on it: Querying Active Directory using .NET classes and LDAP queries[^]

Also, you can just google for c# ldap examples and find lots more.


这篇关于如何在asp.net web api上使用活动目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆