patrick24601 Posted June 28, 2005 Posted June 28, 2005 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? Quote
Administrators PlausiblyDamp Posted June 28, 2005 Administrators Posted June 28, 2005 http://msdn2.microsoft.com/library/kkdz3641(en-us,vs.80).aspx Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
patrick24601 Posted June 29, 2005 Author Posted June 29, 2005 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: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.