如何同步TFS workitem中的使用者AD顯示名稱欄位?

  • 528
  • 0

摘要:如何同步TFS workitem中的使用者AD顯示名稱欄位?

若TFS 工作事項欄位內容為AD 使用者名稱

當AD使用者名稱變動時 TFS的欄位內容預設並不會變動

需要使用 witadmin 中的 /syncnamechanges:true 選項

TFS 才能自動同步AD使用者內容

 

如下例:

witadmin changefield /collection:http://tfsserver:8080/tfs/DefaultCollection /n:Custom.ReviewedBy /syncnamechanges:true

本功能在TFS 2010後才有提供

 

參考資料:

http://ivanfioravanti.wordpress.com/2010/08/05/user-synchronization-between-tfs-2010-and-active-directory/

http://msdn.microsoft.com/zh-tw/library/dd236909.aspx

 

 

風來疏竹,風過而竹不留聲;雁度寒潭,雁去而潭不留影。故君子事來而心始現,事去而心隨空。