Share via


SecurityNamespace.SetAccessControlEntries Method

Sets the provided access control entries in this SecurityNamespace.

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

Syntax

'Declaration
Public MustOverride Function SetAccessControlEntries ( _
    token As String, _
    accessControlEntries As IEnumerable(Of AccessControlEntry), _
    merge As Boolean _
) As Collection(Of AccessControlEntry)
public abstract Collection<AccessControlEntry> SetAccessControlEntries(
    string token,
    IEnumerable<AccessControlEntry> accessControlEntries,
    bool merge
)
public:
virtual Collection<AccessControlEntry^>^ SetAccessControlEntries(
    String^ token, 
    IEnumerable<AccessControlEntry^>^ accessControlEntries, 
    bool merge
) abstract
abstract SetAccessControlEntries : 
        token:string * 
        accessControlEntries:IEnumerable<AccessControlEntry> * 
        merge:bool -> Collection<AccessControlEntry> 
public abstract function SetAccessControlEntries(
    token : String, 
    accessControlEntries : IEnumerable<AccessControlEntry>, 
    merge : boolean
) : Collection<AccessControlEntry>

Parameters

  • merge
    Type: System.Boolean

    True to merge the specified permissions with existing permissions for the specified AccessControlEntry. False to set the permissions as specified.

Return Value

Type: System.Collections.ObjectModel.Collection<AccessControlEntry>
The new or updated access control entries that were set in the SecurityNamespace.

.NET Framework Security

See Also

Reference

SecurityNamespace Class

Microsoft.TeamFoundation.Framework.Client Namespace