Click or drag to resize

MySqlSimpleRoleProvider Class

Manages storage of simple role membership information for an ASP.NET application in a MySQL database.
Inheritance Hierarchy

Namespace:  MySql.Web.Security
Assembly:  MySql.Web (in MySql.Web.dll) Version: 8.0.22
public class MySqlSimpleRoleProvider : SimpleRoleProvider

The MySqlSimpleRoleProvider type exposes the following members.

Public methodMySqlSimpleRoleProvider
Initializes a new instance of the MySqlSimpleRoleProvider class
Public methodMySqlSimpleRoleProvider(RoleProvider)
Initializes a new instance of the MySqlSimpleRoleProvider class
Public propertyApplicationName (Overrides SimpleRoleProvider.ApplicationName.)
Public propertyCasingBehavior (Inherited from SimpleRoleProvider.)
Public propertyConnectionString
Gets or sets the connection string.
Public propertyConnectionStringName
Gets or sets the name associated to the connection string when stored in the configuration manager.
Public propertyDescription
Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
(Inherited from ProviderBase.)
Public propertyName
Gets the friendly name used to refer to the provider during configuration.
(Inherited from ProviderBase.)
Public propertyUserIdColumn
Gets the name of the column storing the user ids.
Public propertyUserNameColumn
Gets the name of the column storing the user names.
Public propertyUserTableName
Gets the name of the table storing user information.
Public methodAddUsersToRoles (Overrides SimpleRoleProvider.AddUsersToRoles(String, String).)
Public methodCreateRole (Overrides SimpleRoleProvider.CreateRole(String).)
Public methodDeleteRole (Overrides SimpleRoleProvider.DeleteRole(String, Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindUsersInRole (Overrides SimpleRoleProvider.FindUsersInRole(String, String).)
Public methodGetAllRoles (Overrides SimpleRoleProvider.GetAllRoles.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRolesForUser (Overrides SimpleRoleProvider.GetRolesForUser(String).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsersInRole (Overrides SimpleRoleProvider.GetUsersInRole(String).)
Public methodInitialize (Overrides ProviderBaseInitialize(String, NameValueCollection).)
Public methodIsUserInRole (Overrides SimpleRoleProvider.IsUserInRole(String, String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveUsersFromRoles (Overrides SimpleRoleProvider.RemoveUsersFromRoles(String, String).)
Public methodRoleExists (Overrides SimpleRoleProvider.RoleExists(String).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also