Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
accessControlEntries
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>The list of AccessControlEntry to set in the SecurityNamespace.
merge
Type: System.BooleanIf merge is true and a preexisting AccessControlEntry for the descriptor is found, the two AccessControlEntry list will be merged. When merging permissions in the list of AccessControlEntry, if there is a conflict, the new permissions will take precedence over the old permissions. If merge is false and a preexisting AccessControlEntry for the descriptor is found, it will be dropped and the passed-in AccessControlEntry will be the only AccessControlEntry that remains for this descriptor on this AccessControlList.
Return Value
Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
The new or updated permissions that were set in the AccessControlList.
.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.