Ah ah what a little Google search can do for you:

 Code:
dsquery * -filter "&(objectcategory=user)(samaccountname=fbosse)" -attr objectsid

This will help me simplify my code I think...
I know its not KIX... and I should be able to do it only with KIX.
But you can't dissociate laziness from the command line ;\)