This method adds the current Arcot card to the named wallet stored in the client machine. If the mentioned file is not present, a new one is created.
Note: This is a deprecated function, use ImportArcotID() instead.
boolean AddCurrentCardToWallet(WalletName)
The following are the parameters of this method:
|
Parameter |
Type |
Description |
|---|---|---|
|
WalletName |
string |
File name for the new wallet file (without the .wlt extension.) |
If the method is successful, then it returns TRUE. If the method is unsuccessful, then it returns FALSE.
var arcotClient = new ArcotClient();
var walletnameString = "GuestUser";
if (arcotClient.AddCurrentCardToWallet(walletnameString))
{
document.write("<P>Card added to wallet successfully</P>");
}
else
{
document.write("<P>Failed to add card to wallet</P>");
}
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|