Title: Win32::AdminMisc - user flag USER_LOGON_HOURS

Dave Roth's documentation and website say this value points to a 21-byte (168-bit) binary string in which each bit represents one hour of the week.

Has anyone bothered to parse this flag out into english?  The only way I can think of is to write a pseudo-switch statement with a 168 'if' statements that push the results into an array.

Plus, if I 'ord' the value from the flag (and no restrictions are set), I get 255 and not 2E+167.

Thank you!

Jason R DePriest

Reply via email to