i want script that can automatically remove expired users in user manger .
i hope i can get some help in this issue .
thanks in advanse .
Try this:
:local users [ /tool user-manager user find where !actual-profile~""]
:foreach u in=$users do={
/tool user-manager user remove $u
}