Beispiel #1
0
 private void btnFindUsers_Click(object sender, EventArgs e)
 {
     using (frmUserFind frm = new frmUserFind())
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             FwkMembership.CreateUsersToRole(selectedRol.RolName, frm.SelectedUserList, frmAdmin.Provider.Name);
             grdUsers.DataSource = FwkMembership.GetUsersDetailedInRole(selectedRol.RolName, frmAdmin.Provider.Name);
             grdUsers.Refresh();
         }
     }
 }