C# Class AdminUserView, FileZilla.NET

Inheritance: System.Web.UI.Page
Mostra file Open project: sancsoft/FileZilla.NET Class Usage Examples

Protected Properties

Property Type Description
fz Filezilla,
fzu FilezillaUser,
userName string
webSettings WebSettings,

Public Methods

Method Description
DisplayPermission ( string perm, bool allow ) : string

Display a permission in standard format; strike it if its not available

GeneratePassword ( ) : string

Randomly generate a password

Protected Methods

Method Description
AccountNotification ( string username, string password, string recipients ) : void

Send the new password notification message

ForcePasswordButton_Click ( object sender, EventArgs e ) : void

Force the user password to the specified value

GeneratePasswordButton_Click ( object sender, EventArgs e ) : void

Generate a new password for the user; display in the new password box

Page_Load ( object sender, EventArgs e ) : void

Method Details

AccountNotification() protected method

Send the new password notification message
protected AccountNotification ( string username, string password, string recipients ) : void
username string account
password string password (unencrypted)
recipients string
return void

DisplayPermission() public method

Display a permission in standard format; strike it if its not available
public DisplayPermission ( string perm, bool allow ) : string
perm string Permission name
allow bool true to allow
return string

ForcePasswordButton_Click() protected method

Force the user password to the specified value
protected ForcePasswordButton_Click ( object sender, EventArgs e ) : void
sender object source
e EventArgs event
return void

GeneratePassword() public method

Randomly generate a password
public GeneratePassword ( ) : string
return string

GeneratePasswordButton_Click() protected method

Generate a new password for the user; display in the new password box
protected GeneratePasswordButton_Click ( object sender, EventArgs e ) : void
sender object source
e EventArgs event
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

fz protected_oe property

Object for accessing the filezilla configuration
protected Filezilla, fz
return Filezilla,

fzu protected_oe property

Target user object
protected FilezillaUser, fzu
return FilezillaUser,

userName protected_oe property

Identifies the target
protected string userName
return string

webSettings protected_oe property

object for accessing the site configuration
protected WebSettings, webSettings
return WebSettings,