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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for the current request.
tokens
Type: System.Collections.Generic.IEnumerable<String>The tokens whose AccessControlLists are to be removed from this SecurityNamespace.
recurse
Type: System.BooleanTrue 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
- 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.