Cannot find RoleProvider to save my life

patrick24601

Freshman
Joined
May 16, 2005
Messages
34
For the life of me I cannot get this block of C code working that I found:

PHP:
using System;
using System.Collections;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Runtime.InteropServices;

using AZROLESLib;

public class AuthorizationManagerRoleProvider: RoleProvider

Visual Studio keeps saying that the type or namespace RoleProvider cannot be found. As far as I can tell that is part of system.web.security (which I have uin my usings above). When I use the VS Class browser I cannot seem to find it.

Is this part of .NET 2.0 only - the roleprovider?
 
Plausibly,

Man you know everything.

Thanks but I had found the solution earlier. A little known fact about RoleProvider - it is only in .NET 2+ . Bad for me - unless I can start using it on my project instead of 2.0.

Patrick
:rolleyes:
 
Back
Top