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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- discussions
Type: System.Collections.Generic.IEnumerable<DiscussionThread>
- discussionsChecked
Type: System.Collections.Generic.Dictionary<Int32, Boolean>
- throwOnAccessDenied
Type: System.Boolean
- shelvesetName
Type: System.String
- shelvesetOwner
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.