Skip Navigation LinksHome > News Groups > microsoft.public.sharepoint.portalserver.development

.NET development starting at $25 per hour

List All Portal Users
From "SJ" on 12/15/2006 2:50:21 PM
Dear Friends, HELP!

I need to do something very simple, but cant figure it out. All I want
to do is list the email adress for all the users added to our portal.
How can I do this?

I thought about using the UserProfileManager, but this is more profile
related and not admin related.

Is there a object model that will let me access the Portal Users? Like
maybe Microsoft.Sharepoint.Portal.Admin?

Thanks for your help!
-SJ
Re: List All Portal Users
From "itaysk" on 12/17/2006 1:38:07 PM

You can use either the object model API -
Microsoft.Office.Server.UserProfiles,
Or the user profiles web service - userprofileservice.asmx

Here are some refs to the SDK:
How to: Retrieve User Profile Properties -
http://msdn2.microsoft.com/en-us/library/ms544366.aspx
How to: Use the Web Service to Retrieve Profile Data of a User -
http://msdn2.microsoft.com/en-us/library/ms550407.aspx


On Dec 16, 12:50 am, "SJ" wrote:
> Dear Friends, HELP!
>
> I need to do something very simple, but cant figure it out. All I want
> to do is list the email adress for all the users added to our portal.
> How can I do this?
>
> I thought about using the UserProfileManager, but this is more profile
> related and not admin related.
>
> Is there a object model that will let me access the Portal Users? Like
> maybe Microsoft.Sharepoint.Portal.Admin?
>
> Thanks for your help!
> -SJ
Re: List All Portal Users
From "SJ" on 12/18/2006 8:33:25 AM
Thank you very much!!
itaysk wrote:
> You can use either the object model API -
> Microsoft.Office.Server.UserProfiles,
> Or the user profiles web service - userprofileservice.asmx
>
> Here are some refs to the SDK:
> How to: Retrieve User Profile Properties -
> http://msdn2.microsoft.com/en-us/library/ms544366.aspx
> How to: Use the Web Service to Retrieve Profile Data of a User -
> http://msdn2.microsoft.com/en-us/library/ms550407.aspx
>
>
> On Dec 16, 12:50 am, "SJ" wrote:
> > Dear Friends, HELP!
> >
> > I need to do something very simple, but cant figure it out. All I want
> > to do is list the email adress for all the users added to our portal.
> > How can I do this?
> >
> > I thought about using the UserProfileManager, but this is more profile
> > related and not admin related.
> >
> > Is there a object model that will let me access the Portal Users? Like
> > maybe Microsoft.Sharepoint.Portal.Admin?
> >
> > Thanks for your help!
> > -SJ

Related Items

Re: WebPart work on SPS 2.0 but not with SharePoint Portal 2003
Re: Can't hit the site by name but I can hit by IP
Change Appearance of SPSWC ToolBarButton Controls
Re: filter site columns
Free Web Part: Ajax (Auto-updating) RSS News Reader
SPS 2007-problems with e-mail replies to discussing board postings
Adding new site groups gives error after 100 groups added in SPPS
Re: Sharepoint Data via Webservices
Open a page externally
Re: How to implement session timeout