protected void btnLockUser_Click(object sender, EventArgs e) { if (this.userID > -1) { SiteUser user = new SiteUser(siteSettings, this.userID); user.LockoutAccount(); } WebUtils.SetupRedirect(this, Request.RawUrl); return; }
protected void btnLockUser_Click(object sender, EventArgs e) { if (this.userID > -1) { SiteUser user = new SiteUser(siteSettings, this.userID); user.LockoutAccount(); } WebUtils.SetupRedirect(this, Request.RawUrl); return; }