// create a super vendor account $isSuperVendor = true; $vmConfig->createUser($username, $password, $isSuperVendor); // check if a user is a super vendor if($vmConfig->isSuperVendor($userId)) { echo "User is a super vendor"; }Package Library: VMConfig is part of the VmWare SDK package library.