我需要使用c#应用程序中的“验证呼叫者ID”值在Active Directory中查找计算机。我当前的代码:
var search = new DirectorySearcher(ldap, (string.Format("(&(objectCategory=computer)(verify caller-id=*{0}*))", "searchValue")));发布于 2019-02-10 19:34:07
在Active Directory用户和计算机中,您在用户对话框的“拨入”页中看到的属性Verify Caller-ID在LDAP中称为msNPCallingStationID。
msNPCallingStationID attribute
试一试
var search = new DirectorySearcher(ldap, (string.Format("(&(objectCategory=computer)(msNPCallingStationID=*{0}*))", "searchValue")));希望这能有所帮助
https://stackoverflow.com/questions/54615858
复制相似问题