Discuss this help topic in SecureBlackbox Forum

TElSRPCredentialStore.Add

TElSRPCredentialStore     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Adds an item to the list.

Declaration

[C#]
    int Add();
    int Add(string Username, string Password, TSBSRPCredentialPrimeLen PrimeLen);

[VB.NET]
    Function Add() As Integer
    Function Add(ByVal Username As String, ByVal Password As String, ByVal PrimeLen As TSBSRPCredentialPrimeLen) As Integer

[Pascal]
    function Add(const Username, Password : string; PrimeLen : TSBSRPCredentialPrimeLen): integer;
    function Add: Integer;

[C++]
    int32_t Add();
    int32_t Add(const std::string &Username, const std::string &Password, TSBSRPCredentialPrimeLen PrimeLen);

[PHP]
    integer Add()
    integer Add(string $Username, string $Password, integer $PrimeLen)

[Java]
    int add(String Username, String Password, TSBSRPCredentialPrimeLen PrimeLen);
    int add();

Parameters

  • Username - specifies the username.
  • Password - specifies the password.
  • PrimeLen - specifies the length of the safe prime in bits.

Values:

Return value

    On success, returns the index of the newly added item in the list. On failure, returns -1.

Description

    Call this method to add new credential to the list.

See also:     Credentials     Clear     Remove    

Discuss this help topic in SecureBlackbox Forum