Extracting user id and reseller domain name in a cpanel script

Host4u2

Well-Known Member
Mar 24, 2002
248
0
316
Hi, we currently need to create a link in our end user's CPanel that will point to their Reseller domain with their user id tacked at the end. Looking something like this:

http://reseller.com?userid

Is it possible to retrieve this information? Can anybody point me in the right direction?

Thanks