0 votes

On the last working day of a user I should always lock (disable) his account at 5pm local time. Since our company is worldwide, I need a good idea how to easily find out when it is 5pm for this user (always local time). Is there a simple solution in adaxes ?

by (40 points)

1 Answer

0 votes
by (272k points)

Hello,

Unfortunately, there is no such thing out of the box. That is because there is no property actually storing anything about user time zones. As a solution, you can use one of Adaxes custom attributes to store the number of hours in front or behind UTC. However, that is something you will need to keep track of manually including the portion about time changes (summer/winter). If you have that, you can use a script and a scheduled task running hourly.

0

Thanks for the good tip

Will follow this approach with the Adaxes custom attribute and save the difference to UTC per User OU.

Thanks a lot

Great Support !!

0

Hello,

Thank you for your good words, it is much appreciated!

If you have all users separated into OUs by time zones, the whole thing can be done much easier. You can have a separate scheduled task for each of the Ous and the run time of the tasks will be set according to the time difference between the time zone where Adaxes service is installed and the corresponding OU time zone. In this case, you will not need to store anything for users.

Related questions

0 votes
1 answer

Hello, we're currently having issues to disabling user accounts on a specific date and time. When our HR department wants to start a "Offboarding", we're created a ... can we link it to the *After approval of disabling account field? Thanks in adavantage.

asked Aug 24, 2021 by BeliarsFire (20 points)
0 votes
1 answer

Hello, I'm inserting a %datetime% value reference in the email notification action in a business rule. But the inserted time is UTC. How can I make it local time?

asked Jul 21, 2011 by sdd5533 (100 points)
0 votes
0 answers

We are in hybrid mode with 365. All the accounts we create have to made with a .com instead of .local. How can I make that change in adaxes? Or is this some default I need to change in AD instead?

asked Apr 11, 2022 by LEGIT1 (150 points)
0 votes
1 answer

Hi, I would need to set a random plaintext in the header of the login page of one of the contexts (via custom HTML). This plaintext must be aligned with a ... . This would serve as a pseudo verification code for entering in the console. Thanks, Daniele

asked May 26, 2020 by dmaggiolo (20 points)
0 votes
1 answer

Hello, We have users who never log to AD on a workstation but only use Outlook OWA. The Exchange value Last Logon is not an AD attribute. How can we disabled these users after a certain amount of time of inactivites ? Thank you :) TB

asked Jan 25, 2022 by tentaal (1.1k points)
3,346 questions
3,047 answers
7,782 comments
544,982 users