G Guest Apr 27, 2005 #1 Is it possible to set the max password age of a domain using C# & DirectoryServices? Thanks.
J Joe Kaplan \(MVP - ADSI\) Apr 29, 2005 #2 Yes. The primary issue is that you need to create the appropriate IADsLargeInteger object with the correct data in it to set the 8 byte integer value. http://msdn.microsoft.com/library/d...ds/large_integer_property_type.asp?frame=true Are you sure this is worth coding? This value changes pretty infrequently and it typically better done in other ways. I usually say the same thing about extending the schema with LDAP calls instead of just using LDIF. It is rarely worth coding. Joe K.
Yes. The primary issue is that you need to create the appropriate IADsLargeInteger object with the correct data in it to set the 8 byte integer value. http://msdn.microsoft.com/library/d...ds/large_integer_property_type.asp?frame=true Are you sure this is worth coding? This value changes pretty infrequently and it typically better done in other ways. I usually say the same thing about extending the schema with LDAP calls instead of just using LDIF. It is rarely worth coding. Joe K.
G Guest May 3, 2005 #3 Thanks. As for why?...Don't ask, just consider it a weird customer requirement that is inflexible.