I have a site where I am using profile values to store company information for users; each user belongs to only one company, and *should* have a company assigned. I'd also like to show some other info from the profile, ie lastname and firstname.
I've built some code to display and edit user profiles, and that's working. In the list screen, I'm using a grid, and populating it with the membership.getallusers function. However, that doesn't give me any profile information, so i can't show it in the table. What I'd like to be able to do is to show the company as a column in the grid, ideally even filter users by company. The GetAllUsers function gives me a table something like; username | email | comment | is approved | is locked | last login date...[etc] What I'd like to have is something like firstname | lastname | company | username ...[etc] Is this possible, and what's the best way to get to it? I've debated using a table-based profile manager like Hao Kung's examples, but I'd prefer to use the generic profile management code. Thanks in advance for any suggestions.
