Freigeben über


SecurityManager.CheckPermission-Methode (TeamFoundationRequestContext, IEnumerable<DiscussionThread>, Int32, Boolean)

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
Public Shared Function CheckPermission ( _
    requestContext As TeamFoundationRequestContext, _
    discussions As IEnumerable(Of DiscussionThread), _
    requiredPermissions As Integer, _
    throwOnAccessDenied As Boolean _
) As Dictionary(Of Integer, Boolean)
public static Dictionary<int, bool> CheckPermission(
    TeamFoundationRequestContext requestContext,
    IEnumerable<DiscussionThread> discussions,
    int requiredPermissions,
    bool throwOnAccessDenied
)

Parameter

Rückgabewert

Typ: System.Collections.Generic.Dictionary<Int32, Boolean>

.NET Framework-Sicherheit

Siehe auch

Referenz

SecurityManager Klasse

CheckPermission-Überladung

Microsoft.TeamFoundation.Discussion.Server-Namespace