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