- 浏览: 389262 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (309)
- xaml C# wpf (0)
- scala java inner clas (1)
- Tools UML Eclipse UML2 (1)
- Timer .NET Framework (1)
- perl (6)
- python function paramter (1)
- Python Docstring (1)
- Python how to compare types (1)
- Python (8)
- java (5)
- C# (76)
- C# WPF (0)
- p4 (0)
- WPF (46)
- .net (6)
- xaml (1)
- javascript (40)
- windows (10)
- scala (4)
- winform (1)
- c++ (48)
- tools (12)
- cmd (1)
- os (0)
- CI (0)
- shell (0)
- C (2)
- haskell (49)
- functional (1)
- tool (1)
- gnu (1)
- linux (1)
- kaskell (0)
- svn (0)
- wcf (3)
- android (1)
最新评论
sometimes you may ask to help find out the attribute name of a property that you wish to query. for exaple, you may want to query for the country where the user is sitting.
The problem is something you don't know what is the right attribute to use. but you can always try with the following trick.
Search search = new FWD2Search(); try { Person p = search.GetPersonByLogon("boqwang", new[] { "*" }); if (p != null) { if (p.AttributesCollection.Contains("country")) { Console.WriteLine(string.Format("the country for person boqwang is {0}", p.AttributesCollection.Item("country"))); } } } catch (Exception e) { Console.Error.WriteLine("Failed to retrieve the Person's attribute, \n\nexception = {0}", e.ToString()); } finally { search.Dispose(); }
the trick here is the seach wildcards, "*", if you don't know which specific attribute to query, you can probably pass in the search wildcards;
Then in the debugger, you probablly can hover over the AttributesCollection property, and browse through the collection of the values it has.
in this case, you may guess that you can use mshomecountry or c as the attribute to search for where the people is from.
Joe,
发表评论
-
wpf - example to enhance ComboBox for AutoComplete
2014-09-19 15:56 1937first let’s see an example ... -
Investigate and troubleshoot possible memory leak issue of .NET application
2014-07-31 10:42 0Hi All, I would like to sh ... -
C# – CoerceValueCallback合并、替换元数据值
2013-08-05 21:59 1891Topic: C# – CoerceValueCallbac ... -
wpf – ListView交替背景色
2013-07-02 20:56 6492Wpf – Alternate background col ... -
C# - 简单介绍TaskScheduler
2013-06-29 17:18 11934标题: C# - 简单介绍TaskSchedulerTit ... -
c# - Get enum from enum attribute
2013-06-27 21:32 1201DescriptionAttribute gives the ... -
C# - PInvoke, gotchas on the RegisterClassEx and the CreateWindowEx
2013-06-24 13:49 2534I get an exception message li ... -
c# - Use PInvoke to create simple win32 Application
2013-06-24 11:59 10883In this post, .net platform h ... -
c# - Linq's Select method as the Map function
2013-06-19 18:47 1241If you comes from a functiona ... -
c# - Tips of Linq expression Any to determine if a collection is Empty
2013-06-19 18:29 894When you are @ the linq expres ... -
myth buster - typeof accepting array of types not acceptable
2013-06-19 17:17 781I have seen from some book whe ... -
windows - trying to create WIN32 application with PInvoke
2013-06-19 14:34 0While it is stupid to do such ... -
WPF - Setting foreground color of Entire window
2013-06-13 16:00 1880You might as well as I would s ... -
WPF - Enhanced TabControl - TabControlEx aka Prerendering TabControl
2013-06-13 13:12 5291As an opening word, let's che ... -
wpf - ControlTemplate and AddLogicChild/RemoveLogicalChild
2013-06-10 15:42 1143Recently I was trying to debug ... -
c# - P/Invoke, DllImport, Marshal Structures and Type conversions
2013-06-05 15:25 1659P/Invoke as in the following q ... -
c# - A study on the NativeWindow - encapsulate window handle and procedure
2013-06-05 14:40 6045NativeWindow gives you a way t ... -
WCF - Notify server when client connects
2013-06-03 18:19 1182It is sometimes very importan ... -
wcf - Debug to enable Server exception in Fault message
2013-06-03 15:47 1056WCF will be able to send back ... -
c# - determine if a type/object is serialzable
2013-05-30 16:35 837In WCF, primitives type are s ...
相关推荐
django-python3-ldap, python 3的Django LDAP用户身份验证后端 django-python3-ldapdjango-python3-ldap 为 python 2和 3提供了一个 Django LDAP用户身份验证后端。特性使用LDAP服务器验证用户身份。将LDAP用户与...
spring-security-ldap-2.0.1
cas-server-support-ldap-3.3.3.jar
spring-ldap-core-1.3.0.RELEASE.jar
getsentry-ldap-auth, 将LDAP服务器添加为authention源的岗哨扩展 sentry-ldap-auth一个用于岗哨的Django 自定义认证后端。 这个模块扩展了 django-auth-ldap插件的功能,具有特定的。特性这里后端创建的用户是受管...
spring-ldap-1.2.jar jar包
bind-dyndb-ldap-1.1.0-0.9.b1.el6.i686.rpm是centos开发工具包。
spring-ldap-core-1.3.0.RC1.jar
apr-util-ldap-1.3.9-3.el6_0.1.i686.rpm是centos工具包。
离线安装包,亲测可用
这个是集成到python中的ldap,安装过程很简单,只要一路next就可以
离线安装包,测试可用
nginx-auth-ldap, Nginx的LDAP认证模块 用于 Nginx的 LDAP认证模块LDAP模块,支持针对多个LDAP服务器进行身份验证的Nginx 。如何安装 FreeBSDcd/usr/ports/www/nginx && make config inst
apr-util-ldap-1.3.9-3.el6_0.1.x86_64
spring-ldap-reference spring-ldap-reference spring-ldap-reference
spring-ldap1.3.1,一种框架技术用来实现对ldap服务器增删改查数据的工具包。
离线安装包,亲测可用
虚拟LDAP Virtual-LDAP 是一种用于将任何其他帐户服务桥接到 LDAP 协议的服务。 使用Virtual-LDAP,您可以使用现有的账号服务(如钉钉)作为许多开源项目的授权服务。 Virtual-LDAP 具有提供程序架构,因此您可以...
官方离线安装包,测试可用。请使用rpm -ivh [rpm完整包名] 进行安装
资源分类:Python库 所属语言:Python 资源全名:python-ldap-2.4.43.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059