Partager via


SecurityManager.CheckPermission, méthode (TeamFoundationRequestContext, IEnumerable<DiscussionThread>, Int32, Boolean)

Espace de noms :  Microsoft.TeamFoundation.Discussion.Server
Assembly :  Microsoft.TeamFoundation.Discussion.Server (dans Microsoft.TeamFoundation.Discussion.Server.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

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

Sécurité .NET Framework

Voir aussi

Référence

SecurityManager Classe

CheckPermission, surcharge

Microsoft.TeamFoundation.Discussion.Server, espace de noms