zoukankan      html  css  js  c++  java
  • SharePoint User Information list is not being updated

    There are many blogs out there explaining the various locations of user properties in SharePoint. Mainly the UPA and the site collections hidden list called the User Information list (http://<SiteCollectionUrl>/_catalogs/users/detail.aspx)

    When a user hits this site collection, they will automatically get a profile entry in this list.  Ok, great.  But you have profile properties in two places now, the site collection(s) and the User Profile Service Application; how are you supposed to keep them in sync?

    As it turns out, SharePoint thought of that and gives us two timer jobs to do exactly that.  These timer jobs are the User Profile to SharePoint Full Synchronization, and the User Profile to SharePoint Quick Synchronization.

    Nice, were good then.  Ok, so what happens when they don’t sync? 

    I recently did a migration where we moved 2007 databases to a 2010 farm.  The profiles moved over fine as did the permissions.  However neither the quick or full sync, would work.  It did at one point, but promptly stopped.  No amount of manually running the timer job made a slight bit of difference.

    No problem, I’m sure there’s a PowerShell script for that. Nope.  Couldn’t find anything.

    So how does SharePoint keep the site collection user lists and the UPA profiles in sync?

    When the timer job updates the site collections with the profile properties, it maintains the sync details in a table.  Each database will have a sync table containing this informationStsadm.exe provides a command (sync) to view these tables:

    Stsadm.exe –o sync –listolddatabases 0

    This will display all the databases and when they have been sync’d last.

     

     

    The sync command also allows you to clear these tables:

    Stsadm.exe –o sync –deleteolddatabases 0

    Funny thing is it doesn’t actually delete databases, just  the sync info.  The team that named this param were having a right laugh.

    Anyways, running this will basically tell the timer jobs that they have never sync’d and force them  to carry on as if it’s the first time.

    Make your way over to the timer Jobs page under Monitoring in Central Admin and fire off the User Profile to SharePoint Full Synchronization job.  It will take a lot longer to run this time and should fix the sync issue.

    So once again stsadm.exe comes to the rescue. 

    If that still doesn’t’ work, you can try Gary Lapointes blog on re-writing them using PowerShell.

    [from]http://donalconlon.wordpress.com/2012/03/02/sharepoint-user-information-list-is-not-being-updated/

  • 相关阅读:
    html+css二级导航的实现
    html+css实现图片或元素的垂直、水平同时居中的多种方法(定位)
    css元素类型以及类型之间的转换
    css文本(超出)溢出显示省略号
    用css实现一个三角形
    css选择符权重,css层叠性
    css 外部样式link和@import区别及用法
    css3-伪类选择器(符)、伪元素详解
    Rabbitmq安装
    谷粒商城SpringCache缓存(二十九)
  • 原文地址:https://www.cnblogs.com/frankzye/p/3031943.html
Copyright © 2011-2022 走看看