Can user logon hours be set through the self service portal?
Does the self service portal have the capability to configure an AD user account's logon hours?
Either something that shows a grid and lets the self service portal user select the allowed logon hours, similar to this UI in ADUC:
Or Ideally, allow the admin to set up templated logon hours, and give the portal user the ability to select from one of those templates. For example, I might want to allow a manager to choose from the following options for their staff:
A) 8a-5p Monday thru Friday
B) 6a-8p Monday thru Friday and 6a-2p Saturday
C) 24/7
-
An update for anyone else who might come across this:
We were able to add the 'logonHours' field to our Create User wizard in self service, and set a Default Value that matches the standard logon hours assigned to all users by default. If a user needs something other than the default, we would have to manually change that in AD after the account creation is complete.
The value of Logon Hours is stored as hex bytes in AD, but the format used for the default value in GroupID is different. I can't recall how I arrived at the appropriate value, I think I may copied the logonHours value from an AD user configured as desired and sent that to GroupID support, who converted it into the desired format for me. Regardless, here is the value that I ended up using as a default:
AAAAAPD/AfD/AfD/AfD/AfD/AfAP
That equates to allowed logon times of:
SUN: NONE
M-F: 6AM-7PM
SAT: 6AM-2PMLooking back at my original post, maybe I could revisit this someday and offer a radio button for managers to select from multiple options, I probably didn't think about that when I eventually came up with this solution.
-
Hi Steve,
Thank you so much for submitting your suggestion. Actually, we have already filed this as a feature request in our upcoming build and hopefully, you will see this implemented in future builds of GroupID starting from version 11.This is an active feature request and we did submit it as a feature request quite a while back, but somehow missed updating this thread.
And thank you for posting the workaround and a solution as well, this is really helpful for anyone trying to implement the logon hours during user object creation.
Please sign in to leave a comment.
Comments
2 comments