Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

SqlMembershipProvider Methods

The SqlMembershipProvider type exposes the following members.

  Name Description
Public method ChangePassword Modifies a user's password. (Overrides MembershipProvider.ChangePassword(String, String, String).)
Public method ChangePasswordQuestionAndAnswer Updates the password question and answer for a user in the SQL Server membership database. (Overrides MembershipProvider.ChangePasswordQuestionAndAnswer(String, String, String, String).)
Public method CreateUser Adds a new user to the SQL Server membership database. (Overrides MembershipProvider.CreateUser(String, String, String, String, String, Boolean, Object, MembershipCreateStatus).)
Protected method DecryptPassword Decrypts an encrypted password. (Inherited from MembershipProvider.)
Public method DeleteUser Removes a user's membership information from the SQL Server membership database. (Overrides MembershipProvider.DeleteUser(String, Boolean).)
Protected method EncryptPassword(Byte[]) Encrypts a password. (Inherited from MembershipProvider.)
Protected method EncryptPassword(Byte[], MembershipPasswordCompatibilityMode) Encrypts the specified password using the specified password-compatibility mode. (Inherited from MembershipProvider.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindUsersByEmail Returns a collection of membership users for which the e-mail address field contains the specified e-mail address. (Overrides MembershipProvider.FindUsersByEmail(String, Int32, Int32, Int32).)
Public method FindUsersByName Gets a collection of membership users where the user name contains the specified user name to match. (Overrides MembershipProvider.FindUsersByName(String, Int32, Int32, Int32).)
Public method GeneratePassword Generates a random password that is at least 14 characters long.
Public method GetAllUsers Gets a collection of all the users in the SQL Server membership database. (Overrides MembershipProvider.GetAllUsers(Int32, Int32, Int32).)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetNumberOfUsersOnline Returns the number of users currently accessing the application. (Overrides MembershipProvider.GetNumberOfUsersOnline().)
Public method GetPassword Returns the password for the specified user name from the SQL Server membership database. (Overrides MembershipProvider.GetPassword(String, String).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUser(Object, Boolean) Gets the information from the data source for the membership user associated with the specified unique identifier and updates the last activity date/time stamp for the user, if specified. (Overrides MembershipProvider.GetUser(Object, Boolean).)
Public method GetUser(String, Boolean) Returns information from the SQL Server membership database for a user and provides an option to update the last activity date/time stamp for the user. (Overrides MembershipProvider.GetUser(String, Boolean).)
Public method GetUserNameByEmail Gets the user name associated with the specified e-mail address. (Overrides MembershipProvider.GetUserNameByEmail(String).)
Public method Initialize Initializes the SQL Server membership provider with the property values specified in the ASP.NET application's configuration file. This method is not intended to be used directly from your code. (Overrides ProviderBase.Initialize(String, NameValueCollection).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnValidatingPassword Raises the ValidatingPassword event if an event handler has been defined. (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 Returns a string that represents the current object. (Inherited from Object.)
Public method UnlockUser Clears the user's locked-out status so that the membership user can be validated. (Overrides MembershipProvider.UnlockUser(String).)
Public method UpdateUser Updates information about a user in the SQL Server membership database. (Overrides MembershipProvider.UpdateUser(MembershipUser).)
Public method ValidateUser Verifies that the specified user name and password exist in the SQL Server membership database. (Overrides MembershipProvider.ValidateUser(String, String).)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.