Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileServerUser Constructor

Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)

FileServerUser(String, String)

Creates a new file server user with the specified password. Virtual file system can be specified later using SetFileSystem(FileSystemProvider, String) method.

Declaration
public FileServerUser(string userName, string password)
Parameters
Type Name Description
String userName

User name.

String password

Password.

Remarks

The password is one-way transformed to a SHA-256 hash with a random salt value.

FileServerUser(String, String, String)

Creates a new file server user with the specified password and their virtual filesystem based at the specified path.

Declaration
public FileServerUser(string userName, string password, string virtualRootPath)
Parameters
Type Name Description
String userName

User name.

String password

Password.

String virtualRootPath

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.

FileServerUser(String, String, FileSystemProvider, String)

Creates a new file server user with the specified password and their virtual filesystem based at the specified path.

Declaration
public FileServerUser(string userName, string password, FileSystemProvider provider, string virtualRootPath)
Parameters
Type Name Description
String userName

User name.

String password

Password.

FileSystemProvider provider

File system provider. Set this to an instance of class derived from ReadWriteFileSystemProvider or ReadOnlyFileSystemProvider provided by

Rebex.FileSystem
assembly.

String virtualRootPath

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.

FileServerUser(String, String, ShellType)

Creates a new file server user with the specified password and their virtual filesystem based at the specified path.

Declaration
public FileServerUser(string userName, string password, ShellType shellType)
Parameters
Type Name Description
String userName

User name.

String password

Password.

ShellType shellType

Specifies which kind of shell to use for this user.

Remarks

The password is one-way transformed to a SHA-256 hash with a random salt value.

FileServerUser(String, String, String, ShellType)

Creates a new file server user with the specified password and their virtual filesystem based at the specified path.

Declaration
public FileServerUser(string userName, string password, string virtualRootPath, ShellType shellType)
Parameters
Type Name Description
String userName

User name.

String password

Password.

String virtualRootPath

The placement of the virtual root of the user.

ShellType shellType

Specifies which kind of shell to use for this user.

Remarks

The password is one-way transformed to a SHA-256 hash with a random salt value.

FileServerUser(String, String, FileSystemProvider, String, ShellType)

Creates a new file server user with the specified password and their virtual filesystem based at the specified path.

Declaration
public FileServerUser(string userName, string password, FileSystemProvider provider, string virtualRootPath, ShellType shellType)
Parameters
Type Name Description
String userName

User name.

String password

Password.

FileSystemProvider provider

File system provider. Set this to an instance of class derived from ReadWriteFileSystemProvider or ReadOnlyFileSystemProvider provided by

Rebex.FileSystem
assembly.

String virtualRootPath

The placement of the virtual root of the user.

ShellType shellType

Specifies which kind of shell to use for this user.

Remarks

The password is one-way transformed to a SHA-256 hash with a random salt value.

FileServerUser(String, String, String, String)

Creates a new file server user with the specified password, their virtual filesystem based at the specified path, and initial path in the virtual filesystem.

Declaration
public FileServerUser(string userName, string password, string virtualRootPath, string initialVirtualPath)
Parameters
Type Name Description
String userName

User name.

String password

Password.

String virtualRootPath

The placement of the virtual root of the user. Note: Pass 'null' here if you intend to call SetFileSystem(FileSystemProvider, String) later.

String initialVirtualPath

The initial path (i.e. home directory) of the user within the virtual file system.

Remarks

The password is one-way transformed to a SHA-256 hash with a random salt value.

FileServerUser(String, String, FileSystemProvider, String, String)

Creates a new file server user with the specified password, their virtual filesystem based at the specified path, and initial path in the virtual filesystem.

Declaration
public FileServerUser(string userName, string password, FileSystemProvider provider, string virtualRootPath, string initialVirtualPath)
Parameters
Type Name Description
String userName

User name.

String password

Password.

FileSystemProvider provider

File system provider. Set this to an instance of class derived from ReadWriteFileSystemProvider or ReadOnlyFileSystemProvider provided by

Rebex.FileSystem
assembly.

String virtualRootPath

The placement of the virtual root of the user. Note: Pass 'null' here if you intend to call SetFileSystem(FileSystemProvider, String) later.

String initialVirtualPath

The initial path (i.e. home directory) of the user within the virtual file system.

Remarks

The password is one-way transformed to a SHA-256 hash with a random salt value.

In This Article
  • FileServerUser(String, String)
  • FileServerUser(String, String, String)
  • FileServerUser(String, String, FileSystemProvider, String)
  • FileServerUser(String, String, ShellType)
  • FileServerUser(String, String, String, ShellType)
  • FileServerUser(String, String, FileSystemProvider, String, ShellType)
  • FileServerUser(String, String, String, String)
  • FileServerUser(String, String, FileSystemProvider, String, String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies