mardi 7 février 2017

disable an account with the ASP.NET Membership Provider?

MembershipUser user = Membership.GetUser("Yourusername");

if(user!=null){ user.IsApproved=false;

Membership.UpdateUser(user); }

This code is not working.Found error in last line as "this method is not specified in your file"

Aucun commentaire:

Enregistrer un commentaire