Manage user features:
Interface section:
<%@ Page title=""Language="C #"masterpagefile="~/site.master"autoeventwireup="true"codefile="Default.aspx.cs"inherits="Admin_default"%><asp:content id="Content1"Contentplaceholderid="maincontent"runat="Server"> <asp:hyperlink id="HyperLink1"runat="Server"Navigateurl="~/admin/jueseadmin.aspx"> Role Management </asp:HyperLink> <div> User-created"Panel2"runat="Server"> <div> <p>User-created</p> <div>User name:<asp:textbox id="Textboxrolename"runat="Server"></asp:TextBox> <asp:button id="Buttonrolechuangjian"runat="Server"text="Create user"validationgroup="cjth"/> <br/> <asp:label id="Labelcjts"runat="Server"></asp:Label> <asp:requiredfieldvalidator id="RequiredFieldValidator1"runat="Server"Controltovalidate="Textboxrolename"cssclass="text-warning"Errormessage="RequiredFieldValidator"validationgroup="CJJS"> You did not enter the name of the user you want to create. </asp:RequiredFieldValidator> </div> </div> </asp:panel& Gt "Panel1"runat="Server"> <div> <p>User Assignment</p> <div>User name:<asp:textbox id="Yonghumingcheng"runat="Server"></asp:TextBox>User name:<asp:textbox id="Juesemingcheng"runat="Server"></asp:TextBox> <asp:button id="Buttonjuesefenpei"runat="Server"text="user is crossed in"validationgroup="Hrjs"/> <br/> <asp:label id="Labelhrts"runat="Server"></asp:Label> <asp:requiredfieldvalidator id="RequiredFieldValidator2"runat="Server"Errormessage="RequiredFieldValidator"cssclass="text-warning"Controltovalidate="Yonghumingcheng"validationgroup="Hrjs"> You did not enter a user name. </asp:RequiredFieldValidator> <asp:requiredfieldvalidator id="RequiredFieldValidator3"runat="Server"Errormessage="RequiredFieldValidator"cssclass="text-warning"Controltovalidate="Juesemingcheng"validationgroup="Hrjs"> You did not enter a user name. </asp:RequiredFieldValidator> </div> </div> </asp:panel& Gt "Panel3"runat="Server"> <div> <p>Delete User</p> <div>User name:<asp:textbox id="Textboxjueseshanchu"runat="Server"></asp:TextBox> <asp:button id="Buttonjueseshanchu"runat="Server"text="Delete User"validationgroup="Scjs"/> <br/> <asp:label id="labelscts"runat="Server"></asp:Label> <asp:requiredfieldvalidator id="RequiredFieldValidator4"runat="Server"Controltovalidate="Textboxjueseshanchu"cssclass="text-warning"Errormessage="RequiredFieldValidator"validationgroup="Scjs"> You did not enter the name of the user you want to create. </asp:RequiredFieldValidator> </div> </div> </asp:panel& Gt </div> </div></asp:Content>
CS File Contents:
^_^, I haven't written it yet.
ASP. NET identity 2.2.0 role enablement and basic use under WebForm (ii)