C# Class ScrewTurn.Wiki.AdminUsers

Inheritance: BasePage
显示文件 Open project: mono/ScrewTurnWiki

Protected Properties

Property Type Description
aclActionsSelector global::ScrewTurn.Wiki.AclActionsSelector
btnBulkDelete global::Anthem.Button
btnCancel global::System.Web.UI.WebControls.Button
btnCreate global::System.Web.UI.WebControls.Button
btnDelete global::Anthem.Button
btnFilter global::Anthem.ImageButton
btnNewUser global::Anthem.Button
btnSave global::System.Web.UI.WebControls.Button
chkActive global::Anthem.CheckBox
chkInactive global::Anthem.CheckBox
chkSetActive global::System.Web.UI.WebControls.CheckBox
cvPassword2 global::System.Web.UI.WebControls.CustomValidator
cvUsername global::System.Web.UI.WebControls.CustomValidator
lblAccounts global::System.Web.UI.WebControls.Literal
lblBulkDelete global::System.Web.UI.WebControls.Literal
lblBulkDeleteResult global::Anthem.Label
lblBulkDeleteTitle global::System.Web.UI.WebControls.Literal
lblDisplayName global::System.Web.UI.WebControls.Literal
lblEditTitle global::System.Web.UI.WebControls.Literal
lblEmail global::System.Web.UI.WebControls.Literal
lblFilter global::System.Web.UI.WebControls.Literal
lblGlobalPermissions global::System.Web.UI.WebControls.Literal
lblMembership global::System.Web.UI.WebControls.Literal
lblPassword1 global::System.Web.UI.WebControls.Literal
lblPassword2 global::System.Web.UI.WebControls.Literal
lblPasswordInfo global::System.Web.UI.WebControls.Label
lblProvider global::System.Web.UI.WebControls.Literal
lblResult global::Anthem.Label
lblUsername global::System.Web.UI.WebControls.Literal
lstGroups global::System.Web.UI.WebControls.CheckBoxList
pageSelector global::ScrewTurn.Wiki.PageSelector
pnlAccountDetails global::System.Web.UI.WebControls.Panel
pnlEditAccount global::Anthem.Panel
pnlList global::Anthem.Panel
providerSelector global::ScrewTurn.Wiki.ProviderSelector
revDisplayName global::System.Web.UI.WebControls.RegularExpressionValidator
revEmail global::System.Web.UI.WebControls.RegularExpressionValidator
revPassword1 global::System.Web.UI.WebControls.RegularExpressionValidator
revUsername global::System.Web.UI.WebControls.RegularExpressionValidator
rfvEmail global::System.Web.UI.WebControls.RequiredFieldValidator
rfvPassword1 global::System.Web.UI.WebControls.RequiredFieldValidator
rfvUsername global::System.Web.UI.WebControls.RequiredFieldValidator
rptAccounts global::Anthem.Repeater
txtCurrentUsername global::Anthem.HiddenField
txtDisplayName global::System.Web.UI.WebControls.TextBox
txtEmail global::System.Web.UI.WebControls.TextBox
txtFilter global::Anthem.TextBox
txtPassword1 global::System.Web.UI.WebControls.TextBox
txtPassword2 global::System.Web.UI.WebControls.TextBox
txtUsername global::System.Web.UI.WebControls.TextBox

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void
btnBulkDelete_Click ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnCreate_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnFilter_Click ( object sender, EventArgs e ) : void
btnNewUser_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
chkFilter_CheckedChanged ( object sender, EventArgs e ) : void
cvPassword2_ServerValidate ( object sender, System.Web.UI.WebControls.ServerValidateEventArgs e ) : void
cvUsername_ServerValidate ( object sender, System.Web.UI.WebControls.ServerValidateEventArgs e ) : void
pageSelector_SelectedPageChanged ( object sender, SelectedPageChangedEventArgs e ) : void
providerSelector_SelectedProviderChanged ( object sender, EventArgs e ) : void
rptAccounts_DataBinding ( object sender, EventArgs e ) : void
rptAccounts_ItemCommand ( object sender, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void

Private Methods

Method Description
AddAclEntries ( UserInfo user, string grants, string denials ) : bool

Adds some ACL entries for a user.

FilterUsername ( UserInfo user ) : bool
GetSelectedGroups ( ) : string[]

Gets the currently selected groups.

GetUsers ( ) : IList

Gets the users.

PopulateGroups ( ) : void

Populates the groups list according to the currently selected provider.

RefreshList ( ) : void

Refreshes the users list.

RemoveAllAclEntries ( UserInfo user ) : bool

Removes all the ACL entries for a user.

RemoveGroupMembership ( UserInfo user ) : bool

Removes all the group membership data for a user.

ResetEditor ( ) : void

Resets the account editor.

ResetUserList ( ) : void

Resets the user list.

ReturnToList ( ) : void

Returns to the accounts list.

SetGroupMembership ( UserInfo user, string groups ) : bool

Sets the group membership data for a user, overwriting previous membership.

Method Details

Page_Load() protected method

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

btnBulkDelete_Click() protected method

protected btnBulkDelete_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnCancel_Click() protected method

protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnCreate_Click() protected method

protected btnCreate_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnDelete_Click() protected method

protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnFilter_Click() protected method

protected btnFilter_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnNewUser_Click() protected method

protected btnNewUser_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnSave_Click() protected method

protected btnSave_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

chkFilter_CheckedChanged() protected method

protected chkFilter_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

cvPassword2_ServerValidate() protected method

protected cvPassword2_ServerValidate ( object sender, System.Web.UI.WebControls.ServerValidateEventArgs e ) : void
sender object
e System.Web.UI.WebControls.ServerValidateEventArgs
return void

cvUsername_ServerValidate() protected method

protected cvUsername_ServerValidate ( object sender, System.Web.UI.WebControls.ServerValidateEventArgs e ) : void
sender object
e System.Web.UI.WebControls.ServerValidateEventArgs
return void

pageSelector_SelectedPageChanged() protected method

protected pageSelector_SelectedPageChanged ( object sender, SelectedPageChangedEventArgs e ) : void
sender object
e SelectedPageChangedEventArgs
return void

providerSelector_SelectedProviderChanged() protected method

protected providerSelector_SelectedProviderChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rptAccounts_DataBinding() protected method

protected rptAccounts_DataBinding ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rptAccounts_ItemCommand() protected method

protected rptAccounts_ItemCommand ( object sender, System.Web.UI.WebControls.RepeaterCommandEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterCommandEventArgs
return void

Property Details

aclActionsSelector protected_oe property

aclActionsSelector control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.AclActionsSelector aclActionsSelector
return global::ScrewTurn.Wiki.AclActionsSelector

btnBulkDelete protected_oe property

btnBulkDelete control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnBulkDelete
return global::Anthem.Button

btnCancel protected_oe property

btnCancel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnCancel
return global::System.Web.UI.WebControls.Button

btnCreate protected_oe property

btnCreate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnCreate
return global::System.Web.UI.WebControls.Button

btnDelete protected_oe property

btnDelete control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnDelete
return global::Anthem.Button

btnFilter protected_oe property

btnFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.ImageButton btnFilter
return global::Anthem.ImageButton

btnNewUser protected_oe property

btnNewUser control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Button btnNewUser
return global::Anthem.Button

btnSave protected_oe property

btnSave control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnSave
return global::System.Web.UI.WebControls.Button

chkActive protected_oe property

chkActive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.CheckBox chkActive
return global::Anthem.CheckBox

chkInactive protected_oe property

chkInactive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.CheckBox chkInactive
return global::Anthem.CheckBox

chkSetActive protected_oe property

chkSetActive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBox chkSetActive
return global::System.Web.UI.WebControls.CheckBox

cvPassword2 protected_oe property

cvPassword2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator cvPassword2
return global::System.Web.UI.WebControls.CustomValidator

cvUsername protected_oe property

cvUsername control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CustomValidator cvUsername
return global::System.Web.UI.WebControls.CustomValidator

lblAccounts protected_oe property

lblAccounts control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblAccounts
return global::System.Web.UI.WebControls.Literal

lblBulkDelete protected_oe property

lblBulkDelete control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblBulkDelete
return global::System.Web.UI.WebControls.Literal

lblBulkDeleteResult protected_oe property

lblBulkDeleteResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblBulkDeleteResult
return global::Anthem.Label

lblBulkDeleteTitle protected_oe property

lblBulkDeleteTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblBulkDeleteTitle
return global::System.Web.UI.WebControls.Literal

lblDisplayName protected_oe property

lblDisplayName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblDisplayName
return global::System.Web.UI.WebControls.Literal

lblEditTitle protected_oe property

lblEditTitle control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblEditTitle
return global::System.Web.UI.WebControls.Literal

lblEmail protected_oe property

lblEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblEmail
return global::System.Web.UI.WebControls.Literal

lblFilter protected_oe property

lblFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblFilter
return global::System.Web.UI.WebControls.Literal

lblGlobalPermissions protected_oe property

lblGlobalPermissions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblGlobalPermissions
return global::System.Web.UI.WebControls.Literal

lblMembership protected_oe property

lblMembership control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblMembership
return global::System.Web.UI.WebControls.Literal

lblPassword1 protected_oe property

lblPassword1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblPassword1
return global::System.Web.UI.WebControls.Literal

lblPassword2 protected_oe property

lblPassword2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblPassword2
return global::System.Web.UI.WebControls.Literal

lblPasswordInfo protected_oe property

lblPasswordInfo control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label lblPasswordInfo
return global::System.Web.UI.WebControls.Label

lblProvider protected_oe property

lblProvider control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblProvider
return global::System.Web.UI.WebControls.Literal

lblResult protected_oe property

lblResult control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Label lblResult
return global::Anthem.Label

lblUsername protected_oe property

lblUsername control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal lblUsername
return global::System.Web.UI.WebControls.Literal

lstGroups protected_oe property

lstGroups control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CheckBoxList lstGroups
return global::System.Web.UI.WebControls.CheckBoxList

pageSelector protected_oe property

pageSelector control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.PageSelector pageSelector
return global::ScrewTurn.Wiki.PageSelector

pnlAccountDetails protected_oe property

pnlAccountDetails control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel pnlAccountDetails
return global::System.Web.UI.WebControls.Panel

pnlEditAccount protected_oe property

pnlEditAccount control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Panel pnlEditAccount
return global::Anthem.Panel

pnlList protected_oe property

pnlList control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Panel pnlList
return global::Anthem.Panel

providerSelector protected_oe property

providerSelector control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::ScrewTurn.Wiki.ProviderSelector providerSelector
return global::ScrewTurn.Wiki.ProviderSelector

revDisplayName protected_oe property

revDisplayName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator revDisplayName
return global::System.Web.UI.WebControls.RegularExpressionValidator

revEmail protected_oe property

revEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator revEmail
return global::System.Web.UI.WebControls.RegularExpressionValidator

revPassword1 protected_oe property

revPassword1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator revPassword1
return global::System.Web.UI.WebControls.RegularExpressionValidator

revUsername protected_oe property

revUsername control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RegularExpressionValidator revUsername
return global::System.Web.UI.WebControls.RegularExpressionValidator

rfvEmail protected_oe property

rfvEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvEmail
return global::System.Web.UI.WebControls.RequiredFieldValidator

rfvPassword1 protected_oe property

rfvPassword1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvPassword1
return global::System.Web.UI.WebControls.RequiredFieldValidator

rfvUsername protected_oe property

rfvUsername control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator rfvUsername
return global::System.Web.UI.WebControls.RequiredFieldValidator

rptAccounts protected_oe property

rptAccounts control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.Repeater rptAccounts
return global::Anthem.Repeater

txtCurrentUsername protected_oe property

txtCurrentUsername control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.HiddenField txtCurrentUsername
return global::Anthem.HiddenField

txtDisplayName protected_oe property

txtDisplayName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtDisplayName
return global::System.Web.UI.WebControls.TextBox

txtEmail protected_oe property

txtEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtEmail
return global::System.Web.UI.WebControls.TextBox

txtFilter protected_oe property

txtFilter control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Anthem.TextBox txtFilter
return global::Anthem.TextBox

txtPassword1 protected_oe property

txtPassword1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtPassword1
return global::System.Web.UI.WebControls.TextBox

txtPassword2 protected_oe property

txtPassword2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtPassword2
return global::System.Web.UI.WebControls.TextBox

txtUsername protected_oe property

txtUsername control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtUsername
return global::System.Web.UI.WebControls.TextBox