Partager via


DefaultSecurityNamespaceExtension.HasReadPermission Method

The default implementation of HasReadPermission, which checks to see whether the caller has ReadPermission on the provided token.

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

Syntax

'Declaration
Public Overridable Function HasReadPermission ( _
    requestContext As TeamFoundationRequestContext, _
    token As String, _
    accessControlEntries As IEnumerable(Of AccessControlEntry) _
) As Boolean
public virtual bool HasReadPermission(
    TeamFoundationRequestContext requestContext,
    string token,
    IEnumerable<AccessControlEntry> accessControlEntries
)
public:
virtual bool HasReadPermission(
    TeamFoundationRequestContext^ requestContext, 
    String^ token, 
    IEnumerable<AccessControlEntry^>^ accessControlEntries
)
abstract HasReadPermission : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        accessControlEntries:IEnumerable<AccessControlEntry> -> bool  
override HasReadPermission : 
        requestContext:TeamFoundationRequestContext * 
        token:string * 
        accessControlEntries:IEnumerable<AccessControlEntry> -> bool
public function HasReadPermission(
    requestContext : TeamFoundationRequestContext, 
    token : String, 
    accessControlEntries : IEnumerable<AccessControlEntry>
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

ISecurityNamespaceExtension.HasReadPermission(TeamFoundationRequestContext, String, IEnumerable<AccessControlEntry>)

.NET Framework Security

See Also

Reference

DefaultSecurityNamespaceExtension Class

Microsoft.TeamFoundation.Framework.Server Namespace