TeamFoundationVersionControlService.QueryEffectiveGlobalPermissions 方法

計算使用者的全域使用權限。 套用,並且會拒絕清單、繼承和成員資格規則會使得使用者有權限的簡單清單。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
Public Function QueryEffectiveGlobalPermissions ( _
    requestContext As TeamFoundationRequestContext, _
    identityName As String _
) As List(Of String)
public List<string> QueryEffectiveGlobalPermissions(
    TeamFoundationRequestContext requestContext,
    string identityName
)

參數

  • identityName
    類型:System.String
    查詢使用權限的使用者。

傳回值

類型:System.Collections.Generic.List<String>
使用權限的名稱。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間