Partager via


AccessControlList.SetAccessControlEntries Method

Sets the provided AccessControlEntry in this AccessControlList.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function SetAccessControlEntries ( _
    accessControlEntries As IEnumerable(Of AccessControlEntry), _
    merge As Boolean _
) As IEnumerable(Of AccessControlEntry)
public IEnumerable<AccessControlEntry> SetAccessControlEntries(
    IEnumerable<AccessControlEntry> accessControlEntries,
    bool merge
)
public:
IEnumerable<AccessControlEntry^>^ SetAccessControlEntries(
    IEnumerable<AccessControlEntry^>^ accessControlEntries, 
    bool merge
)
member SetAccessControlEntries : 
        accessControlEntries:IEnumerable<AccessControlEntry> * 
        merge:bool -> IEnumerable<AccessControlEntry> 
public function SetAccessControlEntries(
    accessControlEntries : IEnumerable<AccessControlEntry>, 
    merge : boolean
) : IEnumerable<AccessControlEntry>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
The new or updated permissions that were set in the AccessControlList.

.NET Framework Security

See Also

Reference

AccessControlList Class

Microsoft.TeamFoundation.Framework.Server Namespace