Solved

User activation/deactivation scheduled

  • 12 November 2020
  • 6 replies
  • 391 views

Userlevel 3
Badge +9

Would it be possible to schedule a task to deactivate a list of users for a specific time and activate again.

icon

Best answer by Technical Outlaws 12 November 2020, 10:56

View original

6 replies

Userlevel 5
Badge +11

There is a standard database task called “Validate Timespan For Users” which you can schedule that will activate/deactivate users based on the Set User Activation definition in the User screen.

Userlevel 3
Badge +9

There is a standard database task called “Validate Timespan For Users” which you can schedule that will activate/deactivate users based on the Set User Activation definition in the User screen.

Thanks for the information. But can this be used to activate/deactivate based on Time

Userlevel 5
Badge +11

Though the Set User Activation definition against the user is date based, you can just schedule the database task “Validate Timespan For Users” to execute at the end of the business day, for example Mon-Fri at 5.30pm.

Userlevel 3
Badge +9

Though the Set User Activation definition against the user is date based, you can just schedule the database task “Validate Timespan For Users” to execute at the end of the business day, for example Mon-Fri at 5.30pm.

I managed to scheduled it for a specific Time, Can we run it for a specific list of users?

Userlevel 5
Badge +11

Yes, it’s the Set User Activation definition against the user.

Userlevel 3
Badge +9

This is the current date on the user. If i want to schedule the  “Validate Timespan For Users” 

between 7am to 7pm daily for specific users, What about the date ? the date is based on the license, and is scheduled already. How can i deactivate users from 7pm to 7am, how does the date work here?

 

Reply