Hi all,
I'm writing a custom role provider with an additional function, but I found that the new function in the custom role provider cannot be accessed (only those base functions can be accessed). Is there anything I missed?
Here is my coding:
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using System.Web;
using System.Web.Configuration;
using System.Web.Security;
namespace Project.DAL.SqlClient
{
public class CustomRoleProvider : SqlRoleProvider
{
public override void AddUsersToRoles(string[] usernames, string[] roleNames)
{
base.AddUsersToRoles(usernames, roleNames);
}
public override string ApplicationName
{
get
{ Go to the complete details ...