Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RoleProviderAdapter Members

RoleProviderAdapter overview

Public Instance Constructors

RoleProviderAdapter Constructor Initializes a new instance of the RoleProviderAdapter class.

Public Instance Properties

ApplicationName Gets or sets the name of the application to store and retrieve role information for.
Description Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs).
Name Gets the friendly name used to refer to the provider during configuration.

Public Instance Methods

AddUsersToRoles Adds the specified user names to the specified roles for the configured applicationName.
CreateRole Adds a new role to the data source for the configured applicationName.
DeleteRole Removes a role from the data source for the configured applicationName.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindUsersInRole Gets an array of user names in a role where the user name contains the specified user name to match.
GetAllRoles Gets a list of all the roles for the configured applicationName.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetRolesForUser Gets a list of the roles that a specified user is in for the configured applicationName.
GetType (inherited from Object)Gets the Type of the current instance.
GetUsersInRole Gets a list of users in the specified role for the configured applicationName.
Initialize Initializes the provider.
IsUserInRole Gets a value indicating whether the specified user is in the specified role for the configured applicationName.
RemoveUsersFromRoles Removes the specified user names from the specified roles for the configured applicationName.
RoleExists Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RoleProviderAdapter Class | Spring.Web.Providers Namespace