We have some nice samples on writing all different types of AD attributes
in
..NET in ch 6 of our book (including LargeInteger). If you go to the
website
in my signature, you can download all the code samples.
The book chapter contains all the details, but the free sample code may be
enough.
The bottom line with large integer is that you have more options in .NET
because .NET has full sup****t for 64 bit integer types and also has a
bunch
of sup****t for converting date/time into 64 bit integers which makes many
of
the VBScript hacks somewhat obsolete.
I hope that helps,
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Janette" <jtowell@[EMAIL PROTECTED]
> wrote in message
news:eLEYCe75IHA.3784@[EMAIL PROTECTED]
> Hi,
>
> I have read Richard Muellers website about treatment of Integer8
> attributes in AD (http://rlmueller.net/Integer8Attributes.htm)
it is
> really useful. I am aware that vbscript doesn't sup****t integer8 unless
> using the IADsLargeInteger interface, which as far as I can gather can
> only be invoked when "getting" a value from AD. Is there any way using
> vbscript that one can update an integer8 value in AD 2003 by making use
of
> this interface? More specifically I want to be able to update maxPwdAge
> and minPwdAge via an ASP page, and therefore was going to be using
> vbscript.
>
> If the answer is no this can't be done in any way using vbcript, is
there
> any other way of scripting this kind of update? Would it be any
different
> if I was using ASP.NET?
>
> Regards
> Janette
>


|