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.
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
- securityNamespaceId
 Type: System.Guid
- token
 Type: System.String
- accessControlEntries
 Type: System.Collections.Generic.IEnumerable<AccessControlEntry>
- merge
 Type: System.Boolean
- userState
 Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<IEnumerable<AccessControlEntry>>
.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.