I have created a custom role provider, in it there is:
Public Overrides Function GetRolesForUser(ByVal username As String) As String()
I want to create my own function, so I have created an Overloaded one:
Public Overloads Function GetRolesForUser(ByVal level As Integer) As String()
However, when I call it and pass in an integer, it always goes to the first one, not my overloaded one.
Dim myroles As Array = Roles.GetRolesForUser(Level)
What am I missing?