0

I'm using the generic membership class and have had my user sign up for workshops.

I need to have something like this

User 1 --Workshop 1 --Workshop 2


--Workshop 5

User 2 --Workshop 1 --Workshop 2


--Workshop 5

How do i get the user model?

Masinde Muliro
  • 1,175
  • 3
  • 24
  • 38
  • 2
    Hi there.You might want to re-word your questions as it's not clear what your issues is e.g. what's the "generic membership class"? – Jason Evans Sep 26 '11 at 08:32

1 Answers1

0

If I understand right you wnat ot extend the standard asp membership user. If I'm right, this answer should help you

Community
  • 1
  • 1
Iridio
  • 9,213
  • 4
  • 49
  • 71
  • I don't want to extend the standard membership. I've used it as it as. What i need is to query users and return workshops they've applied for – Masinde Muliro Sep 26 '11 at 12:14
  • Then you have to extend the model with your custom fields. In the link I gave you, look at the second choice. Then you can access your fields with something similar to Membership.GetAllUser(...) and in your list you should be able to access your fields – Iridio Sep 26 '11 at 12:20