System.Web.ApplicationServices
Enumerates the password-compatibility modes for ASP.NET membership.
Passwords are in ASP.NET 2.0 mode.
Passwords are in ASP.NET 4 mode.
Provides a custom loader to ASP.NET so that an application can provide its own implementation of the hosting environment.
Initializes a new instance of the class.
The type of the custom loader.
Gets the type of the custom loader.
The type of the custom loader.
Describes the result of a operation.
The email address already exists in the database for the application.
The provider user key already exists in the database for the application.
The user name already exists in the database for the application.
The password answer is not formatted correctly.
The email address is not formatted correctly.
The password is not formatted correctly.
The provider user key is of an invalid type or format.
The password question is not formatted correctly.
The user name was not found in the database.
The provider returned an error that is not described by other enumeration values.
The user was successfully created.
The user was not created, for a reason defined by the provider.
The exception that is thrown when a user is not successfully created by a membership provider.
Initializes a new instance of the class.
Initializes a new instance of the class with the supplied serialization information and context.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class and sets the property to the supplied parameter value
A description of the reason for the exception.
Initializes a new instance of the class and sets the property to the supplied and the property to the supplied .
A description of the reason for the exception.
The exception that caused the .
Initializes a new instance of the class with the specified value.
A enumeration value that describes the reason for the exception.
Populates a with the data needed to serialize the target object.
The to populate with data.
A that specifies the destination for this serialization.
Gets a description of the reason for the exception.
A enumeration value that describes the reason for the exception.
The exception that is thrown when a password cannot be retrieved from the password store.
Initializes a new instance of the class.
Initializes a new instance of the class with the supplied serialization information and context.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Initializes a new instance of the class and sets the property to the supplied .
A description of the reason for the exception.
Initializes a new instance of the class and sets the property to the supplied and the property to the supplied .
A description of the reason for the exception.
The exception that caused the .
Describes the encryption format for storing passwords for membership users.
Not secure, do not use. Passwords are not encrypted.
Not secure, do not use. Passwords are encrypted using the encryption settings determined by the machineKey Element (ASP.NET Settings Schema) element configuration.
Passwords are encrypted one-way using the SHA1 hashing algorithm.
Defines the contract that ASP.NET implements to provide membership services using custom membership providers.
Initializes a new instance of the class.
The name of the application using the custom membership provider.
The name of the application using the custom membership provider.
Processes a request to update the password for a membership user.
The user to update the password for.
The current password for the specified user.
The new password for the specified user.
if the password was updated successfully; otherwise, .
Processes a request to update the password question and answer for a membership user.
The user to change the password question and answer for.
The password for the specified user.
The new password question for the specified user.
The new password answer for the specified user.
if the password question and answer are updated successfully; otherwise, .
Adds a new membership user to the data source.
The user name for the new user.
The password for the new user.
The email address for the new user.
The password question for the new user.
The password answer for the new user
Whether or not the new user is approved to be validated.
The unique identifier from the membership data source for the user.
A enumeration value indicating whether the user was created successfully.
A object populated with the information for the newly created user.
Decrypts an encrypted password.
A byte array that contains the encrypted password to decrypt.
A byte array that contains the decrypted password.
The property or property is set to .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Removes a user from the membership data source.
The name of the user to delete.
to delete data related to the user from the database; to leave data related to the user in the database.
if the user was successfully deleted; otherwise, .
Indicates whether the membership provider is configured to allow users to reset their passwords.
if the membership provider supports password reset; otherwise, . The default is .
Indicates whether the membership provider is configured to allow users to retrieve their passwords.
if the membership provider is configured to support password retrieval; otherwise, . The default is .
Encrypts a password.
A byte array that contains the password to encrypt.
A byte array that contains the encrypted password.
The property or property is set to .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Encrypts the specified password using the specified password-compatibility mode.
A byte array that contains the password to encrypt.
The membership password-compatibility mode.
A byte array that contains the encrypted password.
The property or property is set to .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Gets a collection of membership users where the email address contains the specified email address to match.
The email address to search for.
The index of the page of results to return. is zero-based.
The size of the page of results to return.
The total number of matched users.
A collection that contains a page of objects beginning at the page specified by .
Gets a collection of membership users where the user name contains the specified user name to match.
The user name to search for.
The index of the page of results to return. is zero-based.
The size of the page of results to return.
The total number of matched users.
A collection that contains a page of objects beginning at the page specified by .
Gets a collection of all the users in the data source in pages of data.
The index of the page of results to return. is zero-based.
The size of the page of results to return.
The total number of matched users.
A collection that contains a page of objects beginning at the page specified by .
Gets the number of users currently accessing the application.
The number of users currently accessing the application.
Gets the password for the specified user name from the data source.
The user to retrieve the password for.
The password answer for the user.
The password for the specified user name.
Gets user information from the data source based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user.
The unique identifier for the membership user to get information for.
to update the last-activity date/time stamp for the user; to return user information without updating the last-activity date/time stamp for the user.
A object populated with the specified user's information from the data source.
Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user.
The name of the user to get information for.
to update the last-activity date/time stamp for the user; to return user information without updating the last-activity date/time stamp for the user.
A object populated with the specified user's information from the data source.
Gets the user name associated with the specified email address.
The email address to search for.
The user name associated with the specified email address. If no match is found, return .
Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
The number of invalid password or password-answer attempts allowed before the membership user is locked out.
Gets the minimum number of special characters that must be present in a valid password.
The minimum number of special characters that must be present in a valid password.
Gets the minimum length required for a password.
The minimum length required for a password.
Raises the event if an event handler has been defined.
The to pass to the event handler.
Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
The number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
Gets a value indicating the format for storing passwords in the membership data store.
One of the values indicating the format for storing passwords in the data store.
Gets the regular expression used to evaluate a password.
A regular expression used to evaluate a password.
Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval.
if a password answer is required for password reset and retrieval; otherwise, . The default is .
Gets a value indicating whether the membership provider is configured to require a unique email address for each user name.
if the membership provider requires a unique email address; otherwise, . The default is .
Resets a user's password to a new, automatically generated password.
The user to reset the password for.
The password answer for the specified user.
The new password for the specified user.
Clears a lock so that the membership user can be validated.
The membership user whose lock status you want to clear.
if the membership user was successfully unlocked; otherwise, .
Updates information about a user in the data source.
A object that represents the user to update and the updated information for the user.
Verifies that the specified user name and password exist in the data source.
The name of the user to validate.
The password for the specified user.
if the specified username and password are valid; otherwise, .
Occurs when a user is created, a password is changed, or a password is reset.
A collection of objects that inherit the abstract class.
Creates a new, empty membership provider collection.
Adds a membership provider to the collection.
The membership provider to add to the collection.
is .
is not of a type that inherits the abstract class.
Copies the membership provider collection to a one-dimensional array.
A one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than zero.
is multidimensional.
-or-
The number of elements in the source array is greater than the available space from to the end of the destination .
The type of the source array cannot be cast automatically to the type of the destination .
Gets the membership provider in the collection referenced by the specified provider name.
The name of the membership provider.
An object that inherits the abstract class.
Exposes and updates membership user information in the membership data store.
Creates a new instance of a object for a class that inherits the class.
Creates a new membership user object with the specified property values.
The string for the membership user.
The string for the membership user.
The identifier for the membership user.
The string for the membership user.
The string for the membership user.
The string for the membership user.
The value for the membership user.
to lock out the membership user; otherwise, .
The object for the membership user.
The object for the membership user.
The object for the membership user.
The object for the membership user.
The object for the membership user.
is .
-or-
is not found in the collection.
The constructor is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, derive your class from the type and then call the default protected constructor, or change the application to target the full version of the .NET Framework.
Updates the password for the membership user in the membership data store.
The current password for the membership user.
The new password for the membership user.
if the update was successful; otherwise, .
is an empty string.
-or-
is an empty string.
is .
-or-
is .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Updates the password question and answer for the membership user in the membership data store.
The current password for the membership user.
The new password question value for the membership user.
The new password answer value for the membership user.
if the update was successful; otherwise, .
is an empty string.
-or-
is an empty string.
-or-
is an empty string.
is .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Gets or sets application-specific information for the membership user.
Application-specific information for the membership user.
Gets the date and time when the user was added to the membership data store.
The date and time when the user was added to the membership data store.
Gets or sets the email address for the membership user.
The email address for the membership user.
Gets the password for the membership user from the membership data store.
The password for the membership user.
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Gets the password for the membership user from the membership data store.
The password answer for the membership user.
The password for the membership user.
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Gets or sets whether the membership user can be authenticated.
if the user can be authenticated; otherwise, .
Gets a value indicating whether the membership user is locked out and unable to be validated.
if the membership user is locked out and unable to be validated; otherwise, .
Gets whether the user is currently online.
if the user is online; otherwise, .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Gets or sets the date and time when the membership user was last authenticated or accessed the application.
The date and time when the membership user was last authenticated or accessed the application.
Gets the most recent date and time that the membership user was locked out.
A object that represents the most recent date and time that the membership user was locked out.
Gets or sets the date and time when the user was last authenticated.
The date and time when the user was last authenticated.
Gets the date and time when the membership user's password was last updated.
The date and time when the membership user's password was last updated.
Gets the password question for the membership user.
The password question for the membership user.
Gets the name of the membership provider that stores and retrieves user information for the membership user.
The name of the membership provider that stores and retrieves user information for the membership user.
Gets the user identifier from the membership data source for the user.
The user identifier from the membership data source for the user.
Resets a user's password to a new, automatically generated password.
The new password for the membership user.
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Resets a user's password to a new, automatically generated password.
The password answer for the membership user.
The new password for the membership user.
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Returns the user name for the membership user.
The for the membership user.
Clears the locked-out state of the user so that the membership user can be validated.
if the membership user was successfully unlocked; otherwise, .
This method is not available. This can occur if the application targets the .NET Framework 4 Client Profile. To prevent this exception, override the method, or change the application to target the full version of the .NET Framework.
Gets the logon name of the membership user.
The logon name of the membership user.
A collection of objects.
Creates a new, empty membership user collection.
Adds the specified membership user to the collection.
A object to add to the collection.
The collection is read-only.
The of the is null.
A object with the same value as already exists in the collection.
Removes all membership user objects from the collection.
Copies the membership user collection to a one-dimensional array.
A one-dimensional array of type that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in the array at which copying begins.
Gets the number of membership user objects in the collection.
The number of objects in the collection.
Gets an enumerator that can iterate through the membership user collection.
An for the entire .
Gets a value indicating whether the membership user collection is thread safe.
Always because thread-safe membership user collections are not supported.
Gets the membership user in the collection referenced by the specified user name.
The of the to retrieve from the collection.
A object representing the user specified by .
Removes the membership user object with the specified user name from the collection.
The user name of the object to remove from the collection.
The collection is read-only.
Makes the contents of the membership user collection read-only.
Gets the synchronization root.
Always , because synchronization of membership user collections is not supported.
Copies the contents of the object to an , starting at a particular index.
The one-dimensional that is the destination for the objects copied from the object. The must have zero-based indexing.
The zero-based index in at which copying begins.
is .
is less than 0.
is multidimensional.
-or-
is greater than or equal to the length of .
-or-
The number of elements in the source is greater than the available space from to the end of the destination array.
The type of the source cannot be cast automatically to the type of the destination array.
Represents the method that will handle the event of the class.
The that raised the event.
A object that contains the event data.
Defines the contract that ASP.NET implements to provide role-management services using custom role providers.
Initializes a new instance of the class.
Adds the specified user names to the specified roles for the configured .
A string array of user names to be added to the specified roles.
A string array of the role names to add the specified user names to.
Gets or sets the name of the application to store and retrieve role information for.
The name of the application to store and retrieve role information for.
Adds a new role to the data source for the configured .
The name of the role to create.
Removes a role from the data source for the configured .
The name of the role to delete.
If , throw an exception if has one or more members and do not delete .
if the role was successfully deleted; otherwise, .
Gets an array of user names in a role where the user name contains the specified user name to match.
The role to search in.
The user name to search for.
A string array containing the names of all the users where the user name matches and the user is a member of the specified role.
Gets a list of all the roles for the configured .
A string array containing the names of all the roles stored in the data source for the configured .
Gets a list of the roles that a specified user is in for the configured .
The user to return a list of roles for.
A string array containing the names of all the roles that the specified user is in for the configured .
Gets a list of users in the specified role for the configured .
The name of the role to get the list of users for.
A string array containing the names of all the users who are members of the specified role for the configured .
Gets a value indicating whether the specified user is in the specified role for the configured .
The user name to search for.
The role to search in.
if the specified user is in the specified role for the configured ; otherwise, .
Removes the specified user names from the specified roles for the configured .
A string array of user names to be removed from the specified roles.
A string array of role names to remove the specified user names from.
Gets a value indicating whether the specified role name already exists in the role data source for the configured .
The name of the role to search for in the data source.
if the role name already exists in the data source for the configured ; otherwise, .
Provides event data for the event of the class.
Creates a new instance of the class.
The membership user name for the current create-user, change-password, or reset-password action.
The new password for the specified membership user.
if the event is occurring while a new user is being created; otherwise, .
Gets or sets a value that indicates whether the current create-user, change-password, or reset-password action will be canceled.
if the current create-user, change-password, or reset-password action will be canceled; otherwise, . The default is .
Gets or sets an exception that describes the reason for the password-validation failure.
An that describes the reason for the password-validation failure.
Gets a value that indicates whether the event is being raised during a call to the method.
if the event is being raised during a call to the method; otherwise, .
Gets the password for the current create-user, change-password, or reset-password action.
The password for the current create-user, change-password, or reset-password action.
Gets the name of the membership user for the current create-user, change-password, or reset-password action.
The name of the membership user for the current create-user, change-password, or reset-password action.