IdentityManagementWebService.RefreshIdentity 方法
同步現在識別。 這個識別必須已經在 IMS 存放區。 如果識別為群組,它的直接成員的屬性也已經同步 (非同步)。
命名空間: Microsoft.TeamFoundation.Framework.Server.WebServices
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function RefreshIdentity ( _
descriptor As IdentityDescriptor _
) As Boolean
[WebMethodAttribute]
public bool RefreshIdentity(
IdentityDescriptor descriptor
)
參數
- descriptor
型別:Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
識別規格。Null 表示呼叫端
傳回值
型別:System.Boolean
為 True,如果識別在 IMS (現在已經同步) 的情況下,錯誤。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。