0
SSPアプリケーションでユーザーのプロファイルを更新しようとしていますが、10000レコードあります。それらのほとんどは初めて更新されており、コードを実行するたびに更新されている21個のレコードがあります。Sharepoint-Active Directoryプロファイル - 優先名が更新されない
なぜこれが起こっている私にはわからない
は...すべてのボディは、私のコードで何が起こっているのか、私を助けてもらえます。
SPSecurity.RunWithElevatedPrivileges(delegate()
{
SPSite sc = new SPSite("http://xxxxx:81");
ServerContext context = ServerContext.GetContext(sc);
HttpContext currentContext = HttpContext.Current;
HttpContext.Current = null;
UserProfileManager profileManager = new UserProfileManager(context);
foreach (UserProfile profile in profileManager)
{
if (profile[PropertyConstants.PreferredName].ToString().Contains("Domain\\"))
{
profile[PropertyConstants.PreferredName].ToString().Replace("Domain\\", "").ToString();
profile.Commit();
NoOfUser++;
}
}
あなたはSSPでユーザープロファイルのインポートオプションがあることを認識している
ハリGillala
NHSダイレクト