0

By default there is only Change Password option in login controls in asp.net. If someone want to update username, email, security question, security answer then how is it possible. Which procedures i have to call and how to update these or there are ready-made classes in asp.net to update these fields.

4

1 回答 1

0

您可以使用 MembershipProvider 上的几种方法,例如

Membership.Provider.ResetPassword(string username, string answer);

http://msdn.microsoft.com/en-us/library/system.web.security.membershipprovider%28v=vs.110%29.aspx

于 2013-11-14T08:43:31.733 回答