Partager via


SecurityHttpClient.SetAccessControlEntriesAsync Method

Namespace:  Microsoft.VisualStudio.Services.Security.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function SetAccessControlEntriesAsync ( _
    securityNamespaceId As Guid, _
    token As String, _
    accessControlEntries As IEnumerable(Of AccessControlEntry), _
    merge As Boolean, _
    userState As Object _
) As Task(Of IEnumerable(Of AccessControlEntry))
public Task<IEnumerable<AccessControlEntry>> SetAccessControlEntriesAsync(
    Guid securityNamespaceId,
    string token,
    IEnumerable<AccessControlEntry> accessControlEntries,
    bool merge,
    Object userState
)
public:
Task<IEnumerable<AccessControlEntry^>^>^ SetAccessControlEntriesAsync(
    Guid securityNamespaceId, 
    String^ token, 
    IEnumerable<AccessControlEntry^>^ accessControlEntries, 
    bool merge, 
    Object^ userState
)
member SetAccessControlEntriesAsync : 
        securityNamespaceId:Guid * 
        token:string * 
        accessControlEntries:IEnumerable<AccessControlEntry> * 
        merge:bool * 
        userState:Object -> Task<IEnumerable<AccessControlEntry>> 
public function SetAccessControlEntriesAsync(
    securityNamespaceId : Guid, 
    token : String, 
    accessControlEntries : IEnumerable<AccessControlEntry>, 
    merge : boolean, 
    userState : Object
) : Task<IEnumerable<AccessControlEntry>>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IEnumerable<AccessControlEntry>>

.NET Framework Security

See Also

Reference

SecurityHttpClient Class

Microsoft.VisualStudio.Services.Security.Client Namespace