问题描述
我有一个处理目录服务属性的vb.net应用程序.我必须显示属性值.要获取值,我使用LDAP.
I have an vb.net app that handles directory service attributes. I have to display the attribute values. To get the values I use LDAP.
Microsoft的Active Directory的语法(或类型)为LARGE_INTEGER/INTEGER8.我看到了各种LDAP浏览器,它们将这种类型的属性显示为DateTime.但是 Microsoft的文档表示此语法(或类型)是64-位有符号整数值.
Microsoft's Active Directory has the syntax (or type) LARGE_INTEGER / INTEGER8. I saw various LDAP-Browsers that display this type of attribute as DateTime. But Microsoft's documentation says that this syntax (or type) is a 64-bit signed integer value.
我的问题:模式定义是否提供信息,使我可以检测到具有LARGE_INTEGER语法的属性应作为DateTime处理?
My question: Does the schema definition provide an information where I can detect that an attribute with the LARGE_INTEGER syntax should be handled as DateTime or not?
这里是一个例子:
- lastLogoff -> DateTime
- msExchVersion ->没有DateTime
- lastLogoff -> DateTime
- msExchVersion -> No DateTime
两个属性都具有相同的语法.
Both attributes have the same syntax.
感谢您的帮助!
推荐答案
关于以下帖子,似乎没有办法查看LARGE_INTEGER属性是否应作为DateTime处理:\
Regarding to the following post it seems that there is no way to see whether a LARGE_INTEGER attribute should be handled as DateTime or not :\
数据类型相同,但AD中的表示形式不同(UsnChanged和LastLogon)
这篇关于Acitve目录:使用LARGE_INTEGER/INTEGER8语法处理属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!