Knowledge Base

Snippets

08

<asp:Button ID="Button1" runat="server" Text="Delete All Users" onclick="Button1_Click" />

using DotNetNuke.Entities.Users;

protected void Button1_Click(object sender, EventArgs e)
{
     UserController.DeleteUsers(this.PortalId, false, false);
}

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Only registered users may post comments.