Partager via


SecurityManager.CheckPermission Method (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
)
public:
static Dictionary<int, bool>^ CheckPermission(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<DiscussionThread^>^ discussions, 
    int requiredPermissions, 
    bool throwOnAccessDenied
)
static member CheckPermission : 
        requestContext:TeamFoundationRequestContext * 
        discussions:IEnumerable<DiscussionThread> * 
        requiredPermissions:int * 
        throwOnAccessDenied:bool -> Dictionary<int, bool> 
public static function CheckPermission(
    requestContext : TeamFoundationRequestContext, 
    discussions : IEnumerable<DiscussionThread>, 
    requiredPermissions : int, 
    throwOnAccessDenied : boolean
) : Dictionary<int, boolean>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

SecurityManager Class

CheckPermission Overload

Microsoft.TeamFoundation.Discussion.Server Namespace