Re: Asp.Net 2.0 Profiles Question...

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Mark,

You might get some ideas from the source code in the ASP.NET Configuration
Tool. It uses this kind of function:

MembershipUser user = (MembershipUser) CallWebAdminHelperMethod(true,
"GetUser", new object[] {userID, false /* isOnline */}, new Type[]
{typeof(string),typeof(bool)});

Look here for the files:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles\Security\Users

Let us know how you make out?

Ken
Microsoft MVP [ASP.NET]



"Mark Rochotte" <muftiteg@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6f0e0f6117af058c817c81eda6cb0@xxxxxxxxxxxxxxxxxxxxxxx
Hi All!

I have authenticated profiles setup that have First Name and Last Name
values. During the course of page building, I need to retrieve those
values for all users who are members of a particular role to populate a
drop-down list with people's names instead of usernames.
Is there a way to do this? I can get the profile data en masse, but i
can't figure out the incantation to retrieve individual constituents.

Thanks,

mark




.