membership.getallusers add extended property?

G

Guoqi Zheng

Dear Sir,

I added some extended property(first name, last name) besides the normal
createUserWizard.

If I use MemberShip.GetAllUsers, it does not return those properties? How
can I show those properties to the gridview as well?

Thanks!

Guoqi Zheng
 
P

PeterKellner

Dear Sir,

I added some extended property(first name, last name) besides the normal
createUserWizard.

If I use MemberShip.GetAllUsers, it does not return those properties? How
can I show those properties to the gridview as well?

Thanks!

Guoqi Zheng

I had the same problem as well. The solution is non trivial so I
wrote an objectdatasource (ODS) generator the creates an ODS from your
web.config. This ODS lets you create a gridview control that has all
your extended properties in it.

http://peterkellner.net/?p=29

BTW, here is a live example of this code in action.

http://livedemos.peterkellner.net/AJAXDemo/DefaultWithProfile.aspx

Peter Kellner
http://peterkellner.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top