DefaultSecurityNamespaceExtension.CheckReadPermission Method
The default implementation of [CheckReadPermission], which calls [HasReadPermission] on the provided token.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Sub CheckReadPermission ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
accessControlEntries As IEnumerable(Of AccessControlEntry) _
)
public virtual void CheckReadPermission(
TeamFoundationRequestContext requestContext,
string token,
IEnumerable<AccessControlEntry> accessControlEntries
)
public:
virtual void CheckReadPermission(
TeamFoundationRequestContext^ requestContext,
String^ token,
IEnumerable<AccessControlEntry^>^ accessControlEntries
)
abstract CheckReadPermission :
requestContext:TeamFoundationRequestContext *
token:string *
accessControlEntries:IEnumerable<AccessControlEntry> -> unit
override CheckReadPermission :
requestContext:TeamFoundationRequestContext *
token:string *
accessControlEntries:IEnumerable<AccessControlEntry> -> unit
public function CheckReadPermission(
requestContext : TeamFoundationRequestContext,
token : String,
accessControlEntries : IEnumerable<AccessControlEntry>
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Type: System.String
- accessControlEntries
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
Implements
.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.