DefaultRoleProvider Class

 

Represents the implemented role provider using EntityFramework.

Namespace:   System.Web.Providers
Assembly:  System.Web.Providers (in System.Web.Providers.dll)

System.Object
  System.Configuration.Provider.ProviderBase
    System.Web.Security.RoleProvider
      System.Web.Providers.DefaultRoleProvider

public class DefaultRoleProvider : RoleProvider

NameDescription
System_CAPS_pubmethodDefaultRoleProvider()

Initializes a new instance of the DefaultRoleProvider class.

NameDescription
System_CAPS_pubpropertyApplicationName

Gets or sets the application name.(Overrides RoleProvider.ApplicationName.)

System_CAPS_pubpropertyDescription

(Inherited from ProviderBase.)

System_CAPS_pubpropertyName

(Inherited from ProviderBase.)

NameDescription
System_CAPS_pubmethodAddUsersToRoles(String[], String[])

Adds all of the usernames to all of the roleNames.(Overrides RoleProvider.AddUsersToRoles(String[], String[]).)

System_CAPS_pubmethodCreateRole(String)

Creates a role.(Overrides RoleProvider.CreateRole(String).)

System_CAPS_pubmethodDeleteRole(String, Boolean)

Deletes a role. (Overrides RoleProvider.DeleteRole(String, Boolean).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFindUsersInRole(String, String)

Finds users in a role.(Overrides RoleProvider.FindUsersInRole(String, String).)

System_CAPS_pubmethodGetAllRoles()

Returns all roles.(Overrides RoleProvider.GetAllRoles().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetRolesForUser(String)

Gets the roles for a user.(Overrides RoleProvider.GetRolesForUser(String).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetUsersInRole(String)

Gets all the users in a given role.(Overrides RoleProvider.GetUsersInRole(String).)

System_CAPS_pubmethodInitialize(String, NameValueCollection)

Initializes the provider from configuration.(Overrides ProviderBase.Initialize(String, NameValueCollection).)

System_CAPS_pubmethodIsUserInRole(String, String)

Determines whether a user is in a role.(Overrides RoleProvider.IsUserInRole(String, String).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveUsersFromRoles(String[], String[])

Removes the specified users from the specified roles.(Overrides RoleProvider.RemoveUsersFromRoles(String[], String[]).)

System_CAPS_pubmethodRoleExists(String)

Determines whether a role exists.(Overrides RoleProvider.RoleExists(String).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: