共用方式為


SPClaimsAuthMembershipProvider Members

Include Protected Members
Include Inherited Members

Defines the ASP.NET membership provider integration into the claims-based identity authentication context.

The SPClaimsAuthMembershipProvider type exposes the following members.

Constructors

  Name Description
Public method SPClaimsAuthMembershipProvider Initializes a new instance of the SPClaimsAuthMembershipProvider class.

Top

Properties

  Name Description
Public property ApplicationName Gets or sets the name of the application using the claims-based membership provider. (Overrides MembershipProvider.ApplicationName.)
Public property Description (Inherited from ProviderBase.)
Public property EnablePasswordReset Gets a value that indicates whether users can reset their passwords. (Overrides MembershipProvider.EnablePasswordReset.)
Public property EnablePasswordRetrieval Gets a value that indicates whether users can retrieve their passwords. (Overrides MembershipProvider.EnablePasswordRetrieval.)
Public property MaxInvalidPasswordAttempts Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out. (Overrides MembershipProvider.MaxInvalidPasswordAttempts.)
Public property MinRequiredNonAlphanumericCharacters Gets the minimum number of nonalphanumeric characters that must be present in a valid password. (Overrides MembershipProvider.MinRequiredNonAlphanumericCharacters.)
Public property MinRequiredPasswordLength Gets the minimum number of characters that must be present in a valid password. (Overrides MembershipProvider.MinRequiredPasswordLength.)
Public property Name Gets the name of the claims-based membership provider. (Overrides ProviderBase.Name.)
Public property PasswordAttemptWindow Gets the number of minutes in which a maximum number of consecutive invalid password or password-answer attempts are allowed before the membership user is locked out. (Overrides MembershipProvider.PasswordAttemptWindow.)
Public property PasswordFormat Gets the encryption format for storing passwords in the membership data store. (Overrides MembershipProvider.PasswordFormat.)
Public property PasswordStrengthRegularExpression Gets the regular expression used to evaluate the complexity of a password. (Overrides MembershipProvider.PasswordStrengthRegularExpression.)
Public property RequiresQuestionAndAnswer Gets a value that indicates whether the user must answer a password question to reset or retrieve their password. (Overrides MembershipProvider.RequiresQuestionAndAnswer.)
Public property RequiresUniqueEmail Gets a value that indicates whether a unique email address is required when creating a new user. (Overrides MembershipProvider.RequiresUniqueEmail.)

Top

Methods

  Name Description
Public method ChangePassword Updates the password for a membership user. (Overrides MembershipProvider.ChangePassword(String, String, String).)
Public method ChangePasswordQuestionAndAnswer Updates the password question and answer for a membership user. (Overrides MembershipProvider.ChangePasswordQuestionAndAnswer(String, String, String, String).)
Public method CreateUser Adds a new membership user to the data source. (Overrides MembershipProvider.CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).)
Protected method DecryptPassword (Inherited from MembershipProvider.)
Public method DeleteUser Removes a user from the data source. (Overrides MembershipProvider.DeleteUser(String, Boolean).)
Protected method EncryptPassword (Inherited from MembershipProvider.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindUsersByEmail This member is reserved for internal use and is not intended to be used directly from your code. (Overrides MembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32).)
Public method FindUsersByName This member is reserved for internal use and is not intended to be used directly from your code. (Overrides MembershipProvider.FindUsersByName(String, Int32, Int32, Int32).)
Public method GetAllUsers Gets a collection of all users in the data source in pages of data. (Overrides MembershipProvider.GetAllUsers(Int32, Int32, Int32).)
Public method GetHashCode (Inherited from Object.)
Public method GetNumberOfUsersOnline Gets the number of users currently accessing the application. (Overrides MembershipProvider.GetNumberOfUsersOnline().)
Public method GetPassword Gets the password for a membership user. (Overrides MembershipProvider.GetPassword(String, String).)
Public method GetType (Inherited from Object.)
Public method GetUser(Object, Boolean) Gets the user information from the data source based on the unique ID for the membership user and updates the last-activity date/time stamp for the user, if specified. (Overrides MembershipProvider.GetUser(Object, Boolean).)
Public method GetUser(String, Boolean) Gets the user information from the data source based on the membership user name and, if specified, updates the last activity date/time stamp for the user. (Overrides MembershipProvider.GetUser(String, Boolean).)
Public method GetUserNameByEmail This member is reserved for internal use and is not intended to be used directly from your code. (Overrides MembershipProvider.GetUserNameByEmail(String).)
Public method Initialize Initializes the SPClaimsAuthMembershipProvider membership provider with the specified name and configurations. (Overrides ProviderBase.Initialize(String, NameValueCollection).)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnValidatingPassword (Inherited from MembershipProvider.)
Public method ResetPassword Resets a user’s password to a new, automatically generated password. (Overrides MembershipProvider.ResetPassword(String, String).)
Public method ToString (Inherited from Object.)
Public method UnlockUser Clears the lock that prevents the user from being validated. (Overrides MembershipProvider.UnlockUser(String).)
Public method UpdateUser Updates information about the specified user in the membership data store. (Overrides MembershipProvider.UpdateUser(MembershipUser).)
Public method ValidateUser Verifies whether a user with the specified name and password exists in the data source. (Overrides MembershipProvider.ValidateUser(String, String).)

Top

Events

  Name Description
Public event ValidatingPassword (Inherited from MembershipProvider.)

Top

See Also

Reference

SPClaimsAuthMembershipProvider Class

Microsoft.SharePoint.Administration.Claims Namespace