Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:663582
More Search Options
RSS Available
Matching Posts
Re: Custom Membership Provider Using Additional Functions
Hey Rick, I guess my problem is that I don't know where to put this module and how that module is associated with the Membership provider. After doing some more research, I now know that I can't add functions to the Membership Provider because it's not meant to be extended like that. I still can't get it to be called by doing the Membership.Provider.GetUserIDFromUsername() call. I think I'm just spending too much time caring about how this function is called when I can just cast
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 7/7/2009
Re: Custom Membership Provider Using Additional Functions
Hey Rick, I'm tried using your suggestion, but I'm not sure it does what I was expecting. In order to call that function on the front end, I would have to do something like Extensions.GetUserIDByUsername("username", Membership.Provider) Right? I have spent a lot of time looking into this and it seems like the Membership Provider just can't be extended to allow for other functions to be added to it from the Membership namespace. I assume this is the same for the Roles and Profile
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 7/6/2009
Re: Custom Membership Provider Using Additional Functions
Thanks for your reply Rick, I tried what you suggested, and I still can't call the function from the Membership keyword. The only way I can successfuly call my custom functions is if I cast Membership to my custom membership provider. Any other suggestions?
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 7/3/2009
Re: Custom Membership Provider Using Additional Functions
Double post, sorry...
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 7/3/2009
Re: Custom Membership Provider Using Additional Functions
Here is the snippit of my custom membership provider Namespace Providers Public Class ccMembershipProvider Inherits MembershipProvider Private ReadOnly Property connectionString() As String Get Return _sqlConnectionString End Get End Property Public Function GetUserIDByUsername(ByVal Username As String) As Guid Using ccData As New Data.ccDataContext(connectionString) Dim usrID = (From m In ccData.Members _ Where m.UserName = Username _ Select m.UserId).SingleOrDefault() Return usrID End Using End
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 7/3/2009
Custom Membership Provider Using Additional Functions
I have built a custom membership provider that inherits from the MembershipProvider class. In my custom provider, I have defined a few new functions that I need to use, but my issue is that I can't access those functions on the front end using the Membership namespace. So in my default.aspx code behind, I would like to call a function GetUserIDFromUserName() by just typing Membership.GetUserIDFromUserName(). In order for me to be able to do that right now, I have to cast Membership to my custom
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 7/2/2009
Filed under: membership
ASP.NET Membership and Searching users
I am using the ASP.NET membership database table structure where it has a Users table, Profile table and ProfilePropertyDefinition Table. The Profile table just has userID, propertyDefinitionID and propertyValue and then the property definition table defines the property type. This structure basically allows me to add a new profile property to the database without having to add a physical column to the profile table. The idea behind it is really awesome and makes it much more dynamic. My problem
Posted to
Security
(Forum)
by
vipergtsrz@gmail.com
on 5/11/2009
Filed under: membership profile property search
Re: UpdatePanel posts back to wrong URL when URLMappings used in a "subdirectory"
[quote user="JeffreyZhao"] Add this to your page: Sys.Application.add_load(function() { var form = Sys.WebForms.PageRequestManager.getInstance()._form; form._initialAction = form.action = window.location.href; }); [/quote] I LOVE YOU! I spent many hours today trying to figure out why my update panels were not working with my ISAPI Rewrite site and this just solved it for me. Thank you very much!
Posted to
ASP.NET AJAX UI
(Forum)
by
vipergtsrz@gmail.com
on 8/21/2008
Accordion Pane HeaderSelectedCssClass Problem
Hopefully someone can tell me how to work around this. Currently, the accordion control is working great for me, but here is my situation. I have 4 panes, Admin, Personal, Info, Interests. Obviously, when someone comes to the page and IS NOT logged in as an admin, I want to hide the Admin pane with visible=false. So when I come to the page, it automatically makes the Personal Pane open because I have SelectedIndex = 0 and that's the first one because the Admin Pane is visible=false. The problem
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
vipergtsrz@gmail.com
on 8/5/2008
Re: ASP AJAX Calendar Control
Thank you so much. That's exactly what I was looking for.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
vipergtsrz@gmail.com
on 7/22/2008
Page 1 of 2 (16 items) 1
2
Next >
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online