Active Directory中User的各个属性值

原文链接:[url=http://www.cnblogs.com/edidu/archive/2009/09/29/1576135.html]http://www.cnblogs.com/edidu/archive/2009/09/29/1576135.html[/url]
在网上找了半天,没有找到相关的信息,上msdn上也没有找到.
查找Directory的Properties也没有找到相关,所以我就用逆向法,找到了在AD中某个user的Properties对应的中文含义及返回类型.
在此做个备份.
====常规============================
[table]
|sn|0|用户的姓|string|
|givenName|1|用户的名|string|
|initials|2|英文缩写|string|
|displayName|3|显示姓名|string|
|description|4|描述|string|
|physicalDeliveryOfficeName|5|办公室|string|
|telephoneNumber|6|电话号码|string|
|mail|7|电子邮件|string|
[/table]
====地址=============================
[table]
|st|8|省/自治区|string|
|l|9|市/县|string|
|streetAddress|11|街道|string|
|postOfficeBox|12|邮政信箱|string|
|postalCode|13|邮政编码|string|
[/table]
====电话================================
[table]
|homePhone|21|家庭电话|string|
|pager|22|寻呼机|string|
|mobile|23|移动电话|string|
|facsimileTelephoneNumber|24|传真|string|
|ipPhone|25|IP电话|string|
[/table]
====单位==================================
[table]
|title|31|职务|string|
|department|32|部门|string|
|company|33|公司|string|
|whenCreated|2009-09-28 07datetime|
|whenChanged|2009-09-28 09datetime|
|distinguishedName|CN=OATester1string|
[/table]
====账号======================================
[table]
|name|OATester1|
|windows2000的账号|string|
|cn|OATester1用户登录名|
|uSNCreated|System.__ComObject|
|uSNChanged|System.__ComObject|
|userPassword|System.Byte[]|用户密码|byte[]|
|objectGUID|System.Byte[]|用户的GUID|byte[]|
|userAccountControl|66048|账号状态|int|
|directReports|CN=OATester3,OU=权限中心测试库,DC=cqgt,DC=com|拥有的下属|System.Object[]|
|memberOf|System.Object[]|隶属于|System.Object[]|
[/table]

作者:灯火阑珊
出处:http://www.cnblogs.com/edidu/
关于作者:重庆IT老鸟一只
本文版权归作者所有,发布于博客园,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接
如有问题,可以通过 gong-zhi@qq.com 与本人联系,非常感谢。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值