TeamFoundationSecurityNamespace.RemoveAccessControlEntries Method (TeamFoundationRequestContext, String, IEnumerable<AccessControlEntry>)
Removes all permissions for the provided user on the provided token from the permission store.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function RemoveAccessControlEntries ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
accessControlEntries As IEnumerable(Of AccessControlEntry) _
) As Boolean
public bool RemoveAccessControlEntries(
TeamFoundationRequestContext requestContext,
string token,
IEnumerable<AccessControlEntry> accessControlEntries
)
public:
bool RemoveAccessControlEntries(
TeamFoundationRequestContext^ requestContext,
String^ token,
IEnumerable<AccessControlEntry^>^ accessControlEntries
)
member RemoveAccessControlEntries :
requestContext:TeamFoundationRequestContext *
token:string *
accessControlEntries:IEnumerable<AccessControlEntry> -> bool
public function RemoveAccessControlEntries(
requestContext : TeamFoundationRequestContext,
token : String,
accessControlEntries : IEnumerable<AccessControlEntry>
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context associated with this call.
token
Type: System.StringThe token on which the identity has permissions.
accessControlEntries
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>The permissions to remove. Equality here is defined as having equal identities in the permission.
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.
See Also
Reference
TeamFoundationSecurityNamespace Class