Share via

LogonHours ActiveDirectory

Julierme Felix Dias 1 Reputation point
2021-06-10T19:33:59.733+00:00

I'm developing a system to restrict the user's login time in AD, I can view login times and even change, but I'm not able to establish this login time from 5 pm to midnight, for example, the system resets the time.

I am using the knowledge from these sites: https://anlai.wordpress.com/2010/09/07/active-directory-permitted-logon-times-with-c-net-3-5-using-system-directoryservices-accountmanagement /?unapproved=804&moderation-hash=5e33ea21b193f70a23d51ea9bce6d48c#comment-804

And the classes made available on GitHub

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.