Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RoleProviderAdapter.RoleExists Method

Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName.

[Visual Basic]
Public Overrides Sub RoleExists( _
   ByVal roleName As String _
) _
    Implements IRoleProvider.RoleExists
[C#]
public override bool RoleExists(
   string roleName
);

Parameters

roleName
The name of the role to search for in the data source.

Return Value

true if the role name already exists in the data source for the configured applicationName; otherwise, false.

Implements

IRoleProvider.RoleExists

See Also

RoleProviderAdapter Class | Spring.Web.Providers Namespace