Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何在AD中列出所有计算机以及它们上次登录的时间?
我正在尝试检索计算机名称列表以及它们上次从 Active Directory 登录的日期 并将它们返回到数据表中 获取名称很容易 但是当我尝试添加 lastLogon 或 lastLogonTimestamp 如下所示 时 我获得的 las
c
directoryservices
如何在建立上下文时设置连接超时-PrincipalContext
using PrincipalContext ctx new PrincipalContext ContextType Domain Domain UserName Password UserPrincipal U new UserPrin
c
c40
directoryservices
adsi
principalcontext
UserPrincipal 相当于 DirectoryEntry.Invoke?
我正在更新与应用程序中的 AD 交互的代码 当前代码使用ActiveDs接口 我正在更改代码以使用 System DirectoryServices AccountManagement 命名空间 我们的应用程序允许用户存储密码提示 这存储在
activedirectory
directoryservices
如何在复杂环境中使用 FQDN 获取 NETBIOS 域名
从完全限定的 Active Directory 域名获取 NETBIOS 域名有时是一项繁琐的任务 我找到了一个很好的答案here https stackoverflow com a 13814584 1027551 然而 在具有多个林的环
c
activedirectory
directoryservices
限制 LDAP 查询中返回的属性
如何限制通过 System DirectoryServices 在 LDAP 查询中返回的属性 我一直在使用 DirectorySearcher 并将我想要的属性添加到 DirectorySearcher PropertiesToLoad
c
NET
activedirectory
LDAP
directoryservices
设置密码非常慢
使用以下方式与活动目录通信时 我们遇到性能问题System DirectoryServices DirectoryEntry Invoke SetPassword new object password 有时需要15秒 进行调用的服务正在同
activedirectory
directoryservices
使用 PrimarySearcher.FindAll() 时出现内存泄漏
我也有一个使用插件和应用程序域长时间运行的服务 并且由于使用目录服务而出现内存泄漏 请注意 我正在使用 system directoryservices accountmanagement 但据我了解 它使用相同的底层 ADSI API 因
c
NET
directoryservices
userprincipal
principalcontext
Azure 应用服务 Active Directory 身份验证访问被拒绝
我们有一个 Web 应用程序 正在从 Azure 经典云服务过渡到应用服务 Web 应用程序 经典云服务位于包含我们的域控制器 常规 AD 而不是 Azure AD 的 vnet 上 应用程序服务使用 VNET 集成 因此它连接到我们的 v
activedirectory
azurewebappservice
directoryservices
kudu
0x80005000 UserPrincipal.GetGroups 上的未知错误,OU 中包含特殊字符
我正在尝试使用 UserPrincipal 的 GetGroups 方法 如果用户帐户位于包含正斜杠的 OU 中 则对 GetGroups 的调用将失败并出现 COM 未知错误 0x80005000 刚刚找到用户帐户 我可以访问其他属性 如
c
NET
activedirectory
directoryservices
当 DN 包含“/”时,“new DirectoryEntry(distinguishedName as string)”不起作用
我有以下代码将可分辨名称转换为 sAMAccountName Dim de As New DirectoryEntry LDAP stringDN Return CType de Properties samaccountname 0 St
从 System.DirectoryServices 切换到 DirectoryServices.Protocols 时的身份验证类型
我需要知道 AuthenticationTypes 中的等效 AuthType 值 才能从 S DS 迁移到 S DS P 代码 我正在重写当前使用 System DirectoryServices 命名空间的 LDAP 连接模块 为了提高
NET
activedirectory
LDAP
directoryservices
与PrincipalSearcher FindAll 一起使用的PrincipalSearchResult
,为什么T 必须是Principal 而不是UserPrincipal
我只是好奇 List
c
directoryservices
System.DirectoryServices.DirectoryServicesCOMException:发生操作错误
我有相同的网络应用程序在其他三台服务器上运行 有人知道为什么第四台服务器无法工作吗 查看错误和堆栈跟踪 发生操作错误 描述 执行期间发生未处理的异常 当前的网络请求 请查看堆栈跟踪以了解更多信息 有关错误及其在代码中的来源的信息 异常详细信
NET
IIS
activedirectory
directoryservices
错误 0x80005000 和 DirectoryServices
我正在尝试使用 Net 中的目录服务运行简单的 LDAP 查询 DirectoryEntry directoryEntry new DirectoryEntry LDAP someserver contoso com DC contoso
c
NET
wcf
activedirectory
directoryservices
System.DirectoryServices.DirectorySearcher.PropertiesToLoad 中有哪些可用的不同属性
我在谷歌上搜索到的所有内容都只是说您可以将它们添加为字符串数组 但没有说明可用的选项是什么 目录服务提供哪些不同的属性 你可以把any将有效的 LDAP 属性转换为PropertiesToLoad 看到此处列出所有 Active Direc
c
activedirectory
directoryservices
循环遍历 DirectoryEntry 或任何对象层次结构 - C#
我目前正在开发一个应用程序 该应用程序使用 System DirectoryServices 命名空间创建 DirectoryEntry 对象并循环整个层次结构以收集信息 我不知道层次结构中每个 DirectoryEntry 对象的子条目数
c
loops
Hierarchy
webcrawler
directoryservices
C#中复制大量数据的方法
我正在使用以下方法将目录的内容复制到不同的目录 public void DirCopy string SourcePath string DestinationPath if Directory Exists DestinationPath
c
directoryservices
filecopying
largedata
设置 System.DirectoryServices.DirectoryEntry 的回调来处理自签名 SSL 证书?
我有一个使用典型的 System DirectoryServices DirectoryEntry 代码从目录服务复制数据的应用程序 我现在需要使用带有自签名证书的 SSL 从 Novell eDirectory 进行复制 我怀疑现有代码可
SSL
activedirectory
LDAP
directoryservices
edirectory
如何获取特定用户的所有AD组?
我检查了this https stackoverflow com questions 90572 how to get ad user groups for user in asp net已经发帖了 但这并不能回答我的问题 我想要获取特定用
c
NET
activedirectory
LDAP
directoryservices
使用 DirectoryServices.Protocols 进行 LDAP 搜索速度慢
我们使用 System DirectoryServices DirectorySearcher 进行 sAMAccountName 查找 这工作得很好 只是当查询某个我们怀疑很大的 AD 时 搜索经常会超时 经过一些研究后 我发现在查询大型
activedirectory
LDAP
directoryservices
1
2
3
»