Skip to main content
Creates a new user.

Definition

Parameters

Returned value

Calculate the password hash

The following C# code hashes the password with a salt derived from the login.

Verify the password hash

The following T-SQL query recomputes the hash so you can compare it with the stored value.