0 votes

This is only to disable user account

ago by (20 points)

1 Answer

0 votes
ago by (15.7k points)

Hello Erik,

To acheive the required, you can use a custom date attribute (e.g. adm-CustomAttributeDate1) and a scheduled task configured for the User object type. The custom date attribute will be used to specify the date when the account will be disabled. You can change the display name of the custom attribute to make it user friendly. The task condition will check whether the custom date attribute is before the current date/time. If the condition is met, the task will disable the user. The task configuration should look like this: image.png

Related questions

0 votes
1 answer

Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the ... deactivate it accordingly on "param-abw-ende" Can you help me with that? Thanks Carsten

asked Nov 17, 2022 by lohnag (160 points)
0 votes
1 answer

I want to add a custom column in a report that displays members of a group that shows the age of the user account in days. Is that possible?

asked Oct 23, 2024 by msheppard (790 points)
0 votes
0 answers

When the UPN being created is the same as an existing one except for the case. For instance, the new UPN is sally.fields but there's an existing Sally.Fields. The ... but then fails to create the AD account indicating that the UPN is not unique forestwide.

asked Jul 13, 2022 by sandramnc (870 points)
0 votes
1 answer

I want to remove special characters on the onboarding web form for username and mail before clicking Finish. Using a script like on the rule "Before User Creation" seems to to do the change to late and you can not verify the email adress before created.

asked Dec 27, 2021 by joem (20 points)
0 votes
1 answer

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
3,677 questions
3,361 answers
8,494 comments
549,328 users