Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户被锁定在 ASP.NET Membership 中时,我需要写入应用程序日志
你可以试试这样的
var user = Membership.GetUser(myLogin.UserName); if(user != null) { if (usrInfo.IsLockedOut) { //write log } }