The GetShopperID method retrieves the current shopper’s shopper ID from a cookie or URL and returns it in a BSTR VARIANT.
Whether GetShopperID locates the shopper ID in a cookie or a URL depends upon the options that you specified in a previous call to IMSCSStandardSManager_3_0::InitManager.
HRESULT GetShopperID(
IDispatch *pdispContext,// in
VARIANT *pvtReturn// out, retval
);
<commerce.h>
If successful, GetShopperID returns S_OK; otherwise, it returns an HRESULT that indicates failure, and sets pvtReturn to NULL.
IMSCSStandardSManager_3_0::CreateShopperID, IMSCSStandardSManager_3_0::PutShopperID