SecurityWebService.RemoveAccessControlEntries Method
Removes the access control entries from the system for the specified token as long as they exist.
Namespace: Microsoft.TeamFoundation.Server.Core.WebServices
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function RemoveAccessControlEntries ( _
namespaceId As Guid, _
token As String, _
identities As List(Of IdentityDescriptor) _
) As Boolean
[WebMethodAttribute]
public bool RemoveAccessControlEntries(
Guid namespaceId,
string token,
List<IdentityDescriptor> identities
)
[WebMethodAttribute]
public:
bool RemoveAccessControlEntries(
Guid namespaceId,
String^ token,
List<IdentityDescriptor^>^ identities
)
[<WebMethodAttribute>]
member RemoveAccessControlEntries :
namespaceId:Guid *
token:string *
identities:List<IdentityDescriptor> -> bool
public function RemoveAccessControlEntries(
namespaceId : Guid,
token : String,
identities : List<IdentityDescriptor>
) : boolean
Parameters
namespaceId
Type: System.GuidThe namespace to make these changes in.
token
Type: System.StringThe token to remove the entries for.
identities
Type: System.Collections.Generic.List<IdentityDescriptor>The identities whose permissions to remove from the token.
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.