D
Doug Gelling
Hi, I have a script that runs over all users in an OU, and if they
have not signed on for 7 days, the account is disabled.
This is working fine, however, if the account is re-enabled but the
users does not signon before the script is run again, the account is
once again disabled.
OK so it is working as expected, I have now been asked if it is
possible to determine when an account was re-enabled and allow a grace
period before the account is disabled.
Other than checking the whenChanged value, is there some other way to
determine when an account has been enabled?
Could checking the whenChanged value produce misleading results?
Thank You
Doug Gelling
Systems Support.
have not signed on for 7 days, the account is disabled.
This is working fine, however, if the account is re-enabled but the
users does not signon before the script is run again, the account is
once again disabled.
OK so it is working as expected, I have now been asked if it is
possible to determine when an account was re-enabled and allow a grace
period before the account is disabled.
Other than checking the whenChanged value, is there some other way to
determine when an account has been enabled?
Could checking the whenChanged value produce misleading results?
Thank You
Doug Gelling
Systems Support.