Error Message:

user name has a Logon Hours setting which is not specified as days-per-week or hours-per-week. You may edit this setting, but it will be initially reset. Do you wish to reset and edit the Logon Hours setting for user name ?

Explanation:

You changed a user's logon hours setting directly through the API.

User Action:

If you wish to reset and edit the logon hours setting, choose OK.