is there a way to check if the user logged in has Admin privileges?

Also if the user doesn't have admin privileges is there a way to run the
vbscript on a non-admin account as an admin assuming the username and
password of the admin account is known?