Adds a user with the specified user name and password to the collection.

Namespace:  Rebex.Net.Servers
Assembly:  Rebex.FileServer (in Rebex.FileServer.dll)

Syntax

Visual Basic
Public Function Add ( _
	userName As String, _
	password As String _
) As ServerUser
C#
public ServerUser Add(
	string userName,
	string password
)

Parameters

userName
Type: System..::..String
User name.
password
Type: System..::..String
Password.

Return Value

An instance of the newly-created user.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also