public SetUserPassword(UserId userId, string passwordHash)

Parameters

userId UserId
passwordHash string
In this article