TeamFoundationIdentityService.AddMemberToApplicationGroup 方法 (TeamFoundationRequestContext, IdentityDescriptor, TeamFoundationIdentity)
將成員加入至 TFS 群組中。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function AddMemberToApplicationGroup ( _
requestContext As TeamFoundationRequestContext, _
groupDescriptor As IdentityDescriptor, _
member As TeamFoundationIdentity _
) As TeamFoundationIdentity
public TeamFoundationIdentity AddMemberToApplicationGroup(
TeamFoundationRequestContext requestContext,
IdentityDescriptor groupDescriptor,
TeamFoundationIdentity member
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
這個要求的內容。
- groupDescriptor
型別:Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
傳回 TeamFoundationIdentity。
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
TeamFoundationIdentityService 類別