コード例 #1
0
 public static void ToDirectoryAccountExpirationDate(string extendedAttribute, string[] directoryAttributes, ADPropertyValueCollection extendedData, ADEntity directoryObj, CmdletSessionInfo cmdletSessionInfo)
 {
     if (extendedData.Count != 0 && extendedData[0] != null)
     {
         DateTime item = (DateTime)extendedData[0];
         if (item.Ticks != 0x89f7ff5f7b58000L)
         {
             AttributeConverters.ToDirectoryDateTime(extendedAttribute, directoryAttributes, extendedData, directoryObj, cmdletSessionInfo);
             return;
         }
     }
     directoryObj.SetValue(directoryAttributes[0], 0x7fffffffffffffffL);
 }