aspnet_Membership IP地址 [英] aspnet_Membership IP address
本文介绍了aspnet_Membership IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以在aspnet_Users中添加"IP地址"字段,然后在用户尝试登录时对其进行控制?
Is it a way to add "IP Address" field in aspnet_Users, and then control it when user try to login?
推荐答案
MembershipUser对象上有一个Comment属性.您可以执行此操作以执行所需的任何操作(这是一个字符串).
There is a Comment property on the MembershipUser object. You can do it to do whatever you want (it is a string).
http://msdn.microsoft. com/en-us/library/system.web.security.membershipuser.comment.aspx
这篇关于aspnet_Membership IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文