Discuss this help topic in SecureBlackbox Forum

TElSRPCredentialStore.Add

TElSRPCredentialStore     See also     


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


Adds an item to the list.

Declaration

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

[VB.NET]
    Function Add(ByVal Username As String, ByVal Password As String, ByVal PrimeLen As TSBSRPCredentialPrimeLen) As Integer
    Function Add() 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)

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