Hello, is there a way for to set the login schedul...
# general
d
Hello, is there a way for to set the login schedule for the employees? For example, I don't want them to login from unauthorized IP or time outside of their work hours.
k
IP restrictions are a thing. Working hours are not.
I'd also suggest some caution - and a couple exempt people who can modify the IP address restriction in the event you have a sudden IP change. Not sure how common that kind of thing could be, but it'd be a fairly painful experience to correct if you didn't have someone who had an exemption.
a
@DL Please note the following as well when it comes to IP Address: If your users are on the same network, the IP Address logged whilst loging in is the same for all users. (i.e. John Smith logging in from his computer will have the same IP address as Jane Doe loging in from her computer since they are on the same network) Also, as @KevinJ of Kansas mentioned, the IP address changes. So you will need to constantly adjust. Type the following in your global search: page:view login audit trail Run a quick search to see if the IP address for different users is the same or different.
t
I setup a custom Multi-Select field for days of the week along with a checkbox noting an employee as having scheduled access. You can then have a workflow that runs once a day with 2 actions per day, each one running a saved search if the employees is scheduled to work that day. If they do not, the action marks them inactive, if they are inactive and they do work that day, the other action makes them active. It works pretty well for the most part until people change schedules/swap days and you have to just go manually activate them. Only happened a handful of times over the last year or so of using this.
k
That's a good work around, but it wouldn't log them out of an existing session would it?
d
@Tom Galvin’s solution is similar to my initial approach but as @KevinJ of Kansas has said, I don't think think there is a way to log them out automatically using Workflow (unless I missed something). Still it is better than nothing, so I will just have to go with that for now then. Thanks for you all for your comments.
t
Inactivating them will end their current session.
k
good to know!