Hi,

How can i delete personal address book...

I am using purgeRequest for deleting the address book...but i am unable to do that....
Code is as follows:

private bool DeleteAddressBook(gwWB.AddressBook oAddBook)
{
try
{
gwWB.purgeRequest oPurgeReq = new gwWB.purgeRequest();
oPurgeReq.items = new string[]{oAddBook.id};
gwWB.purgeResponse oPurgeResp = new gwWB.purgeResponse();
oPurgeResp = oUserBinding.purgeRequest(oPurgeReq);
if(oPurgeResp.status.code==0)
{
oLogger.Debug("Success");
return true;
}
else
{
oLogger.Debug("Error");
return false;
}

}
catch(Exception ex)
{
oLogger.Error("Error occured while trying to delete the address book."+ ex.Message);
return false;
}
}

This is the function i have made for that....but no luck...i am unable to delete the address book.