Share via


TeamFoundationSecurityNamespace.RemoveAccessControlLists Method

Removes the AccessControlList for the specified tokens.

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

Syntax

'Declaration
Public Function RemoveAccessControlLists ( _
    requestContext As TeamFoundationRequestContext, _
    tokens As IEnumerable(Of String), _
    recurse As Boolean _
) As Boolean
public bool RemoveAccessControlLists(
    TeamFoundationRequestContext requestContext,
    IEnumerable<string> tokens,
    bool recurse
)
public:
bool RemoveAccessControlLists(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<String^>^ tokens, 
    bool recurse
)
member RemoveAccessControlLists : 
        requestContext:TeamFoundationRequestContext * 
        tokens:IEnumerable<string> * 
        recurse:bool -> bool
public function RemoveAccessControlLists(
    requestContext : TeamFoundationRequestContext, 
    tokens : IEnumerable<String>, 
    recurse : boolean
) : boolean

Parameters

  • recurse
    Type: System.Boolean

    True if all of the children under the provided tokens should also be removed.

Return Value

Type: System.Boolean
True if something was removed. False otherwise.

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

Microsoft.TeamFoundation.Framework.Server Namespace