Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

For the life of me I cannot get this block of C code working that I found:

 

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?

Posted

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:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...