C#2.0中的DirectorySearcher过滤条件 [英] DirectorySearcher Filter Condition in C# 2.0

查看:72
本文介绍了C#2.0中的DirectorySearcher过滤条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,早上好。我正在使用框架2.0。我开发了一个窗口服务。该服务的主要工作是搜索ldap用户并将用户详细信息添加到sqlserver。这是一个过程。我完成了这个过程。

我的问题是我想在ldap中找到新用户。在directorysearcher clase中,我使用了像xday这样的过滤器 - 这是我的最后一次运行日期,所以我形成了像[whenCreated> xday]。我想知道这是找到新用户的当前逻辑吗?
当我的ldap服务器中有可用的属性。所有微软Ldap服务器都有这个属性吗?

谢谢

.G.Sivakumar

解决方案

即使我也在寻找同样的东西。亲切的建议......


Hi

Good morning. i am using framework 2.0. i develop one window service. The major work of the service is to search ldap user and add the user details to sqlserver. this is shedule process. I completed this process.

My problem is i want to find new user in ldap. In directorysearcher clase i use filter like
xday - this is my last shedule run date
So i form filter like [whenCreated > xday] . i want to know this is currect logic to find new user?
whenCreated Propertie available in my ldap server. this Propertie available in all microsoft Ldap servers ?



Thanks

G.Sivakumar

解决方案

Even i am also looking for same . kindly advice...


这篇关于C#2.0中的DirectorySearcher过滤条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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