Web サイトでユーザーを認証するために Active Directory を使用する必要があります。私たちの開発グループは、次のようなコードを使用するように言っています。
using System.DirectoryServices.ActiveDirectory;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
LdapAuthentication objAuthenticate;
DirectoryServices.dll を bin ディレクトリに追加でき、アセンブリを web.config に追加しましたが、LdapAuthentication タイプが System.Directory.ActiveDirectory にありません。The type or namespace name 'LdapAuthentication' could not be found... と表示されます...誰かが私が間違っていることを教えてもらえますか? ありがとう。