Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 6th, 2007, 01:10 PM
Authorized User
Join Date: Sep 2007
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!!
Old November 7th, 2007, 04:19 AM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
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)
Old March 1st, 2019, 06:37 AM
Registered User
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..

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

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.