SrpUserCredentialsAddUser(String, Byte, Byte, Int32, SrpStrength) Method
Adds the specified user to the credential database.
Namespace: SnapDB.Security.AuthenticationAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public void AddUser(
string username,
byte[] verifier,
byte[] passwordSalt,
int iterations,
SrpStrength strength
)
Public Sub AddUser (
username As String,
verifier As Byte(),
passwordSalt As Byte(),
iterations As Integer,
strength As SrpStrength
)
public:
void AddUser(
String^ username,
array<unsigned char>^ verifier,
array<unsigned char>^ passwordSalt,
int iterations,
SrpStrength strength
)
function AddUser(username, verifier, passwordSalt, iterations, strength);
Parameters
- username String
- The username of the new user.
- verifier Byte
- The SRP verifier value associated with the user.
- passwordSalt Byte
- The salt value used for password hashing.
- iterations Int32
- The number of iterations used for password hashing.
- strength SrpStrength
- The strength of the SRP protocol.