Share via


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

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, _
    shelvesetName As String, _
    shelvesetOwner As String _
)
public static void CheckPermission(
    TeamFoundationRequestContext requestContext,
    IEnumerable<DiscussionThread> discussions,
    Dictionary<int, bool> discussionsChecked,
    bool throwOnAccessDenied,
    string shelvesetName,
    string shelvesetOwner
)
public:
static void CheckPermission(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<DiscussionThread^>^ discussions, 
    Dictionary<int, bool>^ discussionsChecked, 
    bool throwOnAccessDenied, 
    String^ shelvesetName, 
    String^ shelvesetOwner
)
static member CheckPermission : 
        requestContext:TeamFoundationRequestContext * 
        discussions:IEnumerable<DiscussionThread> * 
        discussionsChecked:Dictionary<int, bool> * 
        throwOnAccessDenied:bool * 
        shelvesetName:string * 
        shelvesetOwner:string -> unit
public static function CheckPermission(
    requestContext : TeamFoundationRequestContext, 
    discussions : IEnumerable<DiscussionThread>, 
    discussionsChecked : Dictionary<int, boolean>, 
    throwOnAccessDenied : boolean, 
    shelvesetName : String, 
    shelvesetOwner : String
)

Parameters

.NET Framework Security

See Also

Reference

SecurityManager Class

CheckPermission Overload

Microsoft.TeamFoundation.Discussion.Server Namespace