0

when i run this code, i get back true

bool isAdmin =  Roles.IsUserInRole(item.loginName, "Administrator");

but when i bring up the Security tab in the Asp.net Website administration tool, this user doesn't exist (or atleast i dont see this user in the list)

when i go to the database, i do see this users in the aspnet_Users and aspnet_UsersInRoles table but i dont see this users in the aspnet_Membership table.

do you know how this is possible. is there any other way i can clear out this user since i can't delete them using the asp.net tool?

leora
  • 188,729
  • 360
  • 878
  • 1,366

1 Answers1

1

Delete the user from aspnet_Users then aspnet_UsersInRoles

K.A.D.
  • 3,648
  • 3
  • 34
  • 35