Does anyone know how to get the LOCAL profile path of a user?

Getting the profile path from the AD is not a problem, but I want to know the local profile path. Whilst I can bodge it and just add their username onto C:\Documents and Settings\, I'd prefer not to for those occasions when they're local folder isn't removed and they're folder becomes %username%.001.

Thanks.