私の問題は、LDAPconnection
クラスを使用してSSL経由で接続していることです。nTSecurityDescriptor値を取得できましたが、エラーが発生します
System.Byte[]のオブジェクトをActiveDs.IADsSecurityDescriptorにキャストできません」
私はこのようなコードを使用しています
SearchResponse response = (SearchResponse)connection.SendRequest(request);
IADsSecurityDescriptor sd = (IADsSecurityDescriptor)response.Entries[0].Attributes["nTSecurityDescriptor"][0];
これを行うためのエラーまたは他の方法はありますか?