Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 6th, 2007, 01:10 PM
Authorized User
Join Date: Sep 2007
Location: Quito, Pichincha, Ecuador.
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Membership.GetAllUsers()

Hi everyone,
I need urgent help plz!
I am using Membership.GetAllUsers()to retrieve all users from the ASPNET.DB but it retrieves all columns from the table and I only need username column. I've been checking if there is any parameter that I can use with this method but I can't find any!!
Reply With Quote
  #2 (permalink)  
Old November 7th, 2007, 04:19 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

You can write your own provider. Inherit from the standard one and then add just one method, GetAllUserNames(). Specify in web.config that your assembly is used for the provider. Search for "provider model membership" for examples or get hold of the excellent Professional ASP.NET 2.0 Security, Membership, and Role Management by Stefan Schackow


Joe (Microsoft MVP - XML)
Reply With Quote
  #3 (permalink)  
Old March 1st, 2019, 06:37 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2019
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I'm also facing the issue, please help me to resolve this issue tutuapp apk.

Last edited by Oscar427; March 2nd, 2019 at 05:12 AM..
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership.UpdateUser() dcct84 C# 3 October 3rd, 2007 02:27 PM
Membership Troubleshooting Laenas1979 ASP.NET 2.0 Professional 0 July 3rd, 2007 01:29 PM
Help with membership Provider... slim182 ASP.NET 2.0 Basics 1 February 19th, 2007 10:15 AM
Membership security Maxxim ASP.NET 2.0 Professional 1 February 13th, 2007 10:39 PM
Membership and different applications Maxxim BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 February 12th, 2007 11:35 PM

All times are GMT -4. The time now is 10:28 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.