If it's a license you purchased yourself then you can login to Direct Admin to check.
https://www.directadmin.com/clients/
If it's through your server provider then they can give you this info.
Hello.
How can i get my current licenseid and userid? I changed ip on my server, so directadmin can't start. I need to refresh the license but i need my old licenseid and userid for it.
Thank you very much!
But as he has a new IP, DA wont start, hence can't log in.Actually log into directadmin at license/update link you can see license id and client id directly from there.