Previous Topic: IsArcotIDAvailableEx()Next Topic: RegisterCSPCertificates()


RemoveArcotID()

This method removes the ArcotID PKI with the specified wallet name and storage types. The function does a domain check of the calling Web page to ensure it matches the domain attribute stored in the ArcotID PKI. For the ArcotID PKI browser plug-in, this function will also un-register any key bag certificates that were registered in CAPI.

Syntax

boolean RemoveArcotID(walletname, StorageType, orgName)

Parameters

The following are the parameters of this method:

Parameter

Type

Description

walletname

string

The name of the wallet to be removed.

StorageType

string

Specifies the medium, where the ArcotID PKI is stored. See "StorageType" for more information.

orgName

string

The name of the AuthMinder organization to which the user belongs.

Returns

None.

Example

var arcotClient = new ArcotClient();
var walletname  = "GuestUser";
var orgName     = "Acme Vendor";

// Remove the ArcotID
var returnValue = arcotClient.RemoveArcotID(walletname, "hd", orgName);

// Reload all the ArcotIDs
arcotClient.RefreshArcotIDs();

// Get the number of wallets
var walletcount = arcotClient.GetGlobalAttribute("walletn.count");