jspωiki
LargeInteger

Overview#

LargeInteger is an LDAPSyntaxes with an OID of 1.2.840.113556.1.4.906

LargeInteger is a syntax for 64-bit numbers

Microsoft Active Directory[1][2]#

LargeInteger Represents a time interval value. The actual time units depend on which attribute is using this syntax. This syntax is identical to the Interval Syntax, except the high and low values are unsigned integers.

LargeInteger is an LDAPSyntaxes within Microsoft Active Directory with an OID 2.5.5.16[2]

LargeInteger may also be referred to as:

NumericDate#

If the LargeInteger attribute is a date, then it is a NumericDate and the value represents the number of 100-nanosecond intervals since 12:00 AM January 1, 1601. Any leap seconds are ignored.

This number 9,223,372,036,854,775,807 is the maximum value for a 64-bit signed integer in computing and is set when the account never.

We refer to this as LargeInteger Date

In .NET Framework (and PowerShell) these 100-nanosecond intervals are called ticks, equal to one ten-millionth of a second. There are 10,000 ticks per millisecond. In addition, .NET Framework and PowerShell DateTime values represent dates as the number of Tick since 12:00 AM January 1, 0001.

ADSI automatically employs the IADsLargeInteger interface to deal with these 64-bit numbers. This interface has two property methods, HighPart and LowPart, which break the number up into two 32-bit numbers. The HighPart and LowPart property methods return values between -2^31 and 2^31 - 1.

More Information#

There might be more information for this subject on one of the following: