- 浏览: 399572 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (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 1976first 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 1925Topic: C# – CoerceValueCallbac ... -
wpf – ListView交替背景色
2013-07-02 20:56 6551Wpf – Alternate background col ... -
C# - 简单介绍TaskScheduler
2013-06-29 17:18 12038标题: C# - 简单介绍TaskSchedulerTit ... -
c# - Get enum from enum attribute
2013-06-27 21:32 1244DescriptionAttribute gives the ... -
C# - PInvoke, gotchas on the RegisterClassEx and the CreateWindowEx
2013-06-24 13:49 2571I get an exception message li ... -
c# - Use PInvoke to create simple win32 Application
2013-06-24 11:59 10946In this post, .net platform h ... -
c# - Linq's Select method as the Map function
2013-06-19 18:47 1287If you comes from a functiona ... -
c# - Tips of Linq expression Any to determine if a collection is Empty
2013-06-19 18:29 938When you are @ the linq expres ... -
myth buster - typeof accepting array of types not acceptable
2013-06-19 17:17 813I 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 1918You might as well as I would s ... -
WPF - Enhanced TabControl - TabControlEx aka Prerendering TabControl
2013-06-13 13:12 5330As an opening word, let's che ... -
wpf - ControlTemplate and AddLogicChild/RemoveLogicalChild
2013-06-10 15:42 1185Recently I was trying to debug ... -
c# - P/Invoke, DllImport, Marshal Structures and Type conversions
2013-06-05 15:25 1712P/Invoke as in the following q ... -
c# - A study on the NativeWindow - encapsulate window handle and procedure
2013-06-05 14:40 6091NativeWindow gives you a way t ... -
WCF - Notify server when client connects
2013-06-03 18:19 1220It is sometimes very importan ... -
wcf - Debug to enable Server exception in Fault message
2013-06-03 15:47 1091WCF will be able to send back ... -
c# - determine if a type/object is serialzable
2013-05-30 16:35 867In WCF, primitives type are s ...
相关推荐
spring-ldap-core-1.3.0.RELEASE.jar
django-python3-ldap, python 3的Django LDAP用户身份验证后端 django-python3-ldapdjango-python3-ldap 为 python 2和 3提供了一个 Django LDAP用户身份验证后端。特性使用LDAP服务器验证用户身份。将LDAP用户与...
python_ldap-3.4.4-cp310-cp310-win_amd64.whl python_ldap-3.4.4-cp311-cp311-win_amd64.whl python_ldap-3.4.4-cp312-cp312-win_amd64.whl python_ldap-3.4.4-cp37-cp37m-win_amd64.whl python_ldap-3.4.4-cp38-cp...
- **配置文件**: 如 `ldap-context.xml`,会定义 ContextSource 和 LdapTemplate。 - **Java 类**: 包含了实际的 LDAP 操作,如用户的增删改查操作。 - **测试类**: 可能包含单元测试或集成测试,用于验证 LDAP 集成...
**Nginx LDAP 认证模块详解** 在Web服务领域,Nginx以其高效、轻量级的特性深受青睐,而LDAP(Lightweight Directory Access Protocol)则是一种用于存储和管理用户账户信息的标准协议。当需要对网站访问进行权限...
cas-server-support-ldap-3.3.3.jar
【Go-ldap-test-tool:一个轻量级的LDAP测试工具】 在信息技术领域,LDAP(Lightweight Directory Access Protocol)是一种用于访问和管理分布式目录服务的标准协议。它被广泛应用于组织内部的身份验证、用户权限...
离线安装包,亲测可用
【标题】"API-LDAP-Model-1.0.0-M22.zip" 提供的是一个关于 LDAP(轻量级目录访问协议)的模型库,版本为1.0.0的第二个候选发布版M22。这个库可能是用于帮助开发者在Scala或Java环境中与LDAP服务器进行交互,提供...
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
getsentry-ldap-auth, 将LDAP服务器添加为authention源的岗哨扩展 sentry-ldap-auth一个用于岗哨的Django 自定义认证后端。 这个模块扩展了 django-auth-ldap插件的功能,具有特定的。特性这里后端创建的用户是受管...
spring-ldap-1.2.jar jar包
离线安装包,测试可用
django-auth-ldap-ad, Django 认证后端,支持 Active Directory django-auth-ldap-ad为什么Django 认证后端,支持 Active Directory由于无法找到使用 django-auth-ldap 绑定到SASL的正确方式,所以我创建了这个项目...
bind-dyndb-ldap-1.1.0-0.9.b1.el6.i686.rpm是centos开发工具包。
apr-util-ldap-1.3.9-3.el6_0.1.i686.rpm是centos工具包。
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
spring-ldap-core-1.3.0.RC1.jar
《Spring Security LDAP 2.0.1:深度解析与实战指南》 在Java企业级开发中,Spring Security作为一款强大的安全框架,为应用程序提供了全面的安全管理解决方案。而其与LDAP(Lightweight Directory Access Protocol...
虚拟LDAP Virtual-LDAP 是一种用于将任何其他帐户服务桥接到 LDAP 协议的服务。 使用Virtual-LDAP,您可以使用现有的账号服务(如钉钉)作为许多开源项目的授权服务。 Virtual-LDAP 具有提供程序架构,因此您可以...