Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IRoleProvider.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 Sub RoleExists( _
   ByVal roleName As String _
)
[C#]
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.

See Also

IRoleProvider Interface | Spring.Web.Providers Namespace