Partager via


TeamFoundationSecurityNamespace.SetAccessControlLists Method (TeamFoundationRequestContext, IEnumerable<AccessControlList>)

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) _
)
public void SetAccessControlLists(
    TeamFoundationRequestContext requestContext,
    IEnumerable<AccessControlList> accessControlLists
)
public:
void SetAccessControlLists(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<AccessControlList^>^ accessControlLists
)
member SetAccessControlLists : 
        requestContext:TeamFoundationRequestContext * 
        accessControlLists:IEnumerable<AccessControlList> -> unit
public function SetAccessControlLists(
    requestContext : TeamFoundationRequestContext, 
    accessControlLists : IEnumerable<AccessControlList>
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationSecurityNamespace Class

SetAccessControlLists Overload

Microsoft.TeamFoundation.Framework.Server Namespace