TeamFoundationSecurityNamespace.SetAccessControlLists Method (TeamFoundationRequestContext, IEnumerable<AccessControlList>, Boolean)
Sets the AccessControlLists specified in the SecurityNamespace. Setting an AccessControlList will always overwrite an existing AccessControlList if one exists.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub SetAccessControlLists ( _
requestContext As TeamFoundationRequestContext, _
accessControlLists As IEnumerable(Of AccessControlList), _
throwOnInvalidIdentity As Boolean _
)
public void SetAccessControlLists(
TeamFoundationRequestContext requestContext,
IEnumerable<AccessControlList> accessControlLists,
bool throwOnInvalidIdentity
)
public:
void SetAccessControlLists(
TeamFoundationRequestContext^ requestContext,
IEnumerable<AccessControlList^>^ accessControlLists,
bool throwOnInvalidIdentity
)
member SetAccessControlLists :
requestContext:TeamFoundationRequestContext *
accessControlLists:IEnumerable<AccessControlList> *
throwOnInvalidIdentity:bool -> unit
public function SetAccessControlLists(
requestContext : TeamFoundationRequestContext,
accessControlLists : IEnumerable<AccessControlList>,
throwOnInvalidIdentity : boolean
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for the current request.
accessControlLists
Type: System.Collections.Generic.IEnumerable<AccessControlList>The AccessControlLists to set in the SecurityNamespace.
throwOnInvalidIdentity
Type: System.BooleanIf an ace is encountered with a reference to an invalid identity, this controls whether the method throws or just removes the identities.
.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