一、成员资格的两张表
aspnet_Membership
applicationId
UserId
Password
PasswordFormat
PasswordSalt
MobilePIN
Email
LoweredEmail
PasswordQuestion
PasswordAnswer
IsApproved
IsLockedOut
CreateDate
LastLoginDate
LastPasswordChangeDate
LastLockoutDate
FailedPasswordAttemptCount
FailedPasswordAttemptWindowStart
FailedPasswordAnswerAttemptCount
FailedPasswordAnswerAttemptWindwsStart
Comment
aspnet_Users
ApplicationId
UserId
UserName
LoweredUserName
MobileAlias
IsAnonymous
LastActivityDate
二、<membership>配置节
<membership
defaultProVider=""
hashAlgorithmType=""
userIsOnlineTimeWindow="">
<providers>
<clear />
<remove name="" />
<add
name=""
type=""
connectionStringName=""
applicationName=""
commandTimeout=""
description=""
enablePasswordRetrieval=""
enablePasswordReset=""
requiresQuestionAndAnswer=""
requiresUniqueEmail=""
passwordFormat=""
maxInvalidPasswordAttempts=""
passwordAttemptWindow=""
minRequiredNonalphanumericCharacters=""
passwordStrengthRegularExpression="" />
</membership>
三、Membership类
属性
ApplicationName
EnablePasswordReset
EnablePasswordRetrieval
HashAlgorithmType
MaxInvalidPasswordAttempts
MinRequiredNonAlphanumericCharacters
MjinRequiredPasswordLength
PasswordAttemptWindow
PasswordStrengthRegularExpression
RequiresQuestionAndAnswer
UserIsOnlineTimeWindow
Provider
方法
CreateUser
DeleteUser
FindUsersByEmail
FindUsersByName
GetAllUsers
GetUser
GetUserNameByEmail
UpdateUser
ValidateUser
GetNumberOfUsersOnline
GeneratePassword
四、MembershipUser类
属性
comment
CreationDate
Email
IsApproved
IsLockedOut
IsOnline
LastActivityDate
LastLockoutDate
LastLoginDate
LastPasswordChangedDate
PasswordQuestion
ProviderName
ProviderUserKey
UserName
方法
ChangePassword
ChangePasswordQuestionAndAnswer
GetPassword
ResetPassword
ToString
UnlockUser