Partager via


SecurityManager.CheckPermission Method (TeamFoundationRequestContext, IEnumerable<DiscussionThread>, Dictionary<Int32, Boolean>, Boolean, Int32)

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

Syntax

'Declaration
Public Shared Sub CheckPermission ( _
    requestContext As TeamFoundationRequestContext, _
    discussions As IEnumerable(Of DiscussionThread), _
    discussionsChecked As Dictionary(Of Integer, Boolean), _
    throwOnAccessDenied As Boolean, _
    changesetId As Integer _
)
public static void CheckPermission(
    TeamFoundationRequestContext requestContext,
    IEnumerable<DiscussionThread> discussions,
    Dictionary<int, bool> discussionsChecked,
    bool throwOnAccessDenied,
    int changesetId
)
public:
static void CheckPermission(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<DiscussionThread^>^ discussions, 
    Dictionary<int, bool>^ discussionsChecked, 
    bool throwOnAccessDenied, 
    int changesetId
)
static member CheckPermission : 
        requestContext:TeamFoundationRequestContext * 
        discussions:IEnumerable<DiscussionThread> * 
        discussionsChecked:Dictionary<int, bool> * 
        throwOnAccessDenied:bool * 
        changesetId:int -> unit
public static function CheckPermission(
    requestContext : TeamFoundationRequestContext, 
    discussions : IEnumerable<DiscussionThread>, 
    discussionsChecked : Dictionary<int, boolean>, 
    throwOnAccessDenied : boolean, 
    changesetId : int
)

Parameters

.NET Framework Security

See Also

Reference

SecurityManager Class

CheckPermission Overload

Microsoft.TeamFoundation.Discussion.Server Namespace