SecurityNamespace.RemoveAccessControlLists Method (String, Boolean)
Removes the AccessControlList that is associated with the specified token.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public MustOverride Function RemoveAccessControlLists ( _
token As String, _
recurse As Boolean _
) As Boolean
public abstract bool RemoveAccessControlLists(
string token,
bool recurse
)
public:
virtual bool RemoveAccessControlLists(
String^ token,
bool recurse
) abstract
abstract RemoveAccessControlLists :
token:string *
recurse:bool -> bool
public abstract function RemoveAccessControlLists(
token : String,
recurse : boolean
) : boolean
Parameters
token
Type: System.StringThe token that is associated with the AccessControlList to remove from this SecurityNamespace.
recurse
Type: System.BooleanTrue to remove any AccessControlLists that are associated with the child objects of the specified token.
Return Value
Type: System.Boolean
True if something was removed; otherwise, false.
.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.