Creates a new server user with the specified password.
Namespace:
Rebex.Net.Servers
Assembly:
Rebex.FileServer (in Rebex.FileServer.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ userName As String, _ password As String _ ) |
C# |
---|
public ServerUser( string userName, string password ) |
Parameters
- userName
- Type: System..::..String
User name.
- password
- Type: System..::..String
Password.
Remarks
The password is one-way transformed to a SHA-256 hash with a random salt value.