"All the Examples are old for 8 and not working for 9.2. Im trying to execute this in QC as a VB test."
What version of the API help are you using? I have been using the same user related VB for a couple of releases with no modification needed. I would assume that your basic vb has some errors somewhere.
Can you post your full script so I can see where you are at and what your current issue is?
While I have been working for Businesses that are Vendor partners with HP, IBM and Microsoft, my opinions and advice is my own.
The solutions provided are either sourced from my own scripting libraries or from a quick Google Search.