How can i set a valid period?

i want to set a valid period for each user , i don’ t know how to set.

(Exemple : today to 23/July , the user can not login when that day )

Thanks !

can i set it from FreePBX?
if not , how can i set from asterisk !

anyway, thanks for anyone !