Share via


TeamFoundationSecurityNamespace.RemoveAccessControlEntries Method (TeamFoundationRequestContext, String, IEnumerable<AccessControlEntry>)

Removes all permissions for the provided user on the provided token from the permission store.

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

Syntax

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

Parameters

  • token
    Type: System.String

    The token on which the identity has permissions.

Return Value

Type: System.Boolean
True if something was removed.

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

RemoveAccessControlEntries Overload

Microsoft.TeamFoundation.Framework.Server Namespace