473,803 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SqlRoleProvider

Hi

I'm currently working on a project that uses roles and membership, and I
decided to derived from the SqlRoleProvider as shown below.

public class EconcordiaSqlRo leProvider : SqlRoleProvider
{
public EconcordiaSqlRo leProvider () : base()
{
}
}

I have a quick question concerning the SqlRoleProvider . Where is the
SqlConnection, ConnectionStrin g, or ConnectionStrin gName stored in the
SqlRoleProvider instance? I want to use that connection for my custom
methods. If you can help me out or give any advice, I would really appreciate
it.

Cheers
Francis
Apr 10 '06 #1
0 1073

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1381
by: Francis Reed | last post by:
Hi I'm currently working on a new portal for an online university, and we need write code that manages roles for multiple applications. To tell the SqlRoleProvider which Application we are currently managing I am using the SqlRoleProvider.ApplicationName Property which is not thread safe. My question is how do I make this property thread safe? Here's a sample of the code. ....
4
1343
by: Francis Reed | last post by:
Hi I'm currently developping a University portal that uses single sign on between multiple applications, and I would like to store my users in one application and share them with other applications while keeping the roles unique per application. For our portal, all our users would go in an application called "UniversityPortal", and roles would be created in each course application. Here's an example illustrating our proposed structure. ...
0
1126
by: Ashkan Daie | last post by:
Hi All, When using forms authentication with IIS 6.0, I can create a user and log in the user. But the LoginStatus control states that the user is logged out. When running the same app using the file system and the Visual Studio web server the LoginStatus page functions properly by displaying the LoggedIn template. Any help is appreciated.
0
2022
by: Ashkan Daie | last post by:
Hi All, When using forms authentication with IIS 6.0, I can create a user and log in the user. But the LoginStatus control states that the user is logged out. When running the same app using the file system and the Visual Studio web server the LoginStatus page functions properly by displaying the LoggedIn template. Any help is appreciated.
0
5276
by: muder | last post by:
I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page. once the user login successfully I am redirecting the user to Member.aspx page. The following is my machine configuration Windows XP Pro Service Pack2 IIS 5.1 SQL Server 2000 visual Studio 2005 DISABLE ANONMYOUS ACCESS IN IIS ENABLE WINDOWS AUTHENTICATION
5
8292
by: Alias | last post by:
Hi - I'm trying to implement a custom RoleProvider based on the SqlRoleProvider. I keep receiving a an error that it can't load type 'MyRoleTest.MyRoleProvider' when trying to load my RoleProvider. However this only occurs after deployment. On my local machine it works fine. So I created the most basic role provider project I could think of. It is below: Imports System.Web.Security
3
11777
by: =?Utf-8?B?c3NyZWRkaQ==?= | last post by:
Hi, I am using SQLServer 2005.I have created a simple website and i am trying to membership to this.so when i click on 'Security' tab of the "WAT" tool its showing the following message. There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to...
0
1060
by: sravan_reddy001 | last post by:
this is the content of my web.config file <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/ v2.0"> <appSettings/> <connectionStrings> <add name="MySqlProviderConnection" connectionString="server=localhost;integrated security = true;database=aspnetdb" />
1
2567
by: Max2006 | last post by:
Hi, Can I use ActiveDirectoryMembershipProvider and SqlRoleProvider at the same time? I need to store the list of all my user/passwords in AD and users' roles in SQL Server. How is it possible? Any help would be appreciated, Max
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9565
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10550
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.