can i change membership provider GetAllUsers method?

Posted by Tones on Stack Overflow See other posts from Stack Overflow or by Tones
Published on 2009-10-01T11:06:21Z Indexed on 2010/04/10 15:03 UTC
Read the original article Hit count: 378

Filed under:
|

Hi i am using vb.net and the .net membership provider.

i want to bring back a gridview with user account information, like GetAllUsers() does. However i want to only bring back users with certain profile information, that will be users whos profile information matches the selected value in a dropdownlist on the same page. I am using profile provider to record just one extra piece of user information.

Can i change or override the GetAllUsers method for this? Adding an extra parameter so its GetAllUsers by Profile. Membership has a FindUsersByName method, i want to do something similar with users by Profile.

I am very much a noob with .net programming so i hope i have explained this ok.

© Stack Overflow or respective owner

Related posts about membership-provider

Related posts about vb.net