Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Getting a List of changed User Profiles (from MySites) in MOSS
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Geordie  
View profile  
 More options Jul 19 2007, 6:08 pm
Newsgroups: microsoft.public.sharepoint.portalserver.development
From: Geordie <Geor...@discussions.microsoft.com>
Date: Thu, 19 Jul 2007 15:08:02 -0700
Local: Thurs, Jul 19 2007 6:08 pm
Subject: Getting a List of changed User Profiles (from MySites) in MOSS
Hi,

I have been asked to update a table with data that has been entered by uses
in thier MySites.  I would like to use the ProfileManagers.GetChange method
to return the profiles that have recently been changed.  

The get changes method always returns 1000 profiles.  I have not found a way
to set a flag to identifiey processed profiles.

Another option appears to be to add a query to the GetChanges method.  
Within the query there is the option of setting a ChangeTokenStart property
with a date.  Setting this date does not appear to effect the results (I
still get 1000 profiles).

I have added the code below.  If anyone has any ideas I would much
appreciate the help.

Thanks,

Geordie

        SPSite site = new SPSite("http://XXXXsps:8082/");
        ServerContext srvContext = ServerContext.GetContext(site);
        UserProfileManager profileManager = new
UserProfileManager(srvContext);
        UserProfileChangeQuery query = new UserProfileChangeQuery();
        query.PersonalizationSite = true;
        query.ChangeTokenStart = new UserProfileChangeToken(new
DateTime(2007, 7, 19, 1, 0, 0));
        UserProfileChangeCollection col = profileManager.GetChanges(query);


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "changes to user profiles"
 
View profile  
 More options Dec 10 2007, 1:38 am
Newsgroups: microsoft.public.sharepoint.portalserver.development
From: Pim Verver
Date: Sun, 09 Dec 2007 22:38:49 -0800
Local: Mon, Dec 10 2007 1:38 am
Subject: changes to user profiles
Hi Georgie,

I'm struggling with the same question and wondering if you can solve the problem either by setting a startdate or bij geting the lastchangetoken. As you don't seem to have received any reactions, I was wondering if you found a solution?

Thanks in advance

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »