Does anyone know the code to run an executable as another user?

I'm running a small vb program during login which queries computers using WMI. For the most part, it works fine running under the user who is logging in. However, there are a few calls which need to be made as a local admin...

Any ideas?