SecurityWebService.RemoveAccessControlList Method
Removes an access control list from the system if it is present. If the access control list data contains entries, only those entries will be removed, if it doesn't, the whole access control list will be removed (this includes all of its related access control entries). If recurse is true, all children access control lists will be deleted as well. Also, if recurse is true, it will be assumed that we are deleting entire access control lists, not just entries within the list.
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function RemoveAccessControlList ( _
namespaceId As Guid, _
tokens As List(Of String), _
recurse As Boolean _
) As Boolean
[WebMethodAttribute]
public bool RemoveAccessControlList(
Guid namespaceId,
List<string> tokens,
bool recurse
)
[WebMethodAttribute]
public:
bool RemoveAccessControlList(
Guid namespaceId,
List<String^>^ tokens,
bool recurse
)
[<WebMethodAttribute>]
member RemoveAccessControlList :
namespaceId:Guid *
tokens:List<string> *
recurse:bool -> bool
public function RemoveAccessControlList(
namespaceId : Guid,
tokens : List<String>,
recurse : boolean
) : boolean
Parameters
namespaceId
Type: System.GuidThe namespace to make these changes in.
- tokens
Type: System.Collections.Generic.List<String>
recurse
Type: System.BooleanIf true, all access control lists below the specified access control lists
Return Value
Type: System.Boolean
True if something was removed
.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.