How-To: Create user with an expiry date via udm

You can create users via udm with an expiration date (e.g. test account for interested potential customers) as follows, in this case with the expiry date set to April 30th, 2024:

udm users/user create \
--position cn=users,$(ucr get ldap/base) \
--set username=... \
--set lastname=... \
--set password=... \
--set userexpiry="2024-04-30"

This topic was automatically closed after 24 hours. New replies are no longer allowed.