SecurityHttpClient.SetAccessControlListsAsync Method
Namespace: Microsoft.VisualStudio.Services.Security.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function SetAccessControlListsAsync ( _
securityNamespaceId As Guid, _
accessControlLists As IEnumerable(Of AccessControlList), _
userState As Object _
) As Task(Of HttpResponseMessage)
public Task<HttpResponseMessage> SetAccessControlListsAsync(
Guid securityNamespaceId,
IEnumerable<AccessControlList> accessControlLists,
Object userState
)
public:
Task<HttpResponseMessage^>^ SetAccessControlListsAsync(
Guid securityNamespaceId,
IEnumerable<AccessControlList^>^ accessControlLists,
Object^ userState
)
member SetAccessControlListsAsync :
securityNamespaceId:Guid *
accessControlLists:IEnumerable<AccessControlList> *
userState:Object -> Task<HttpResponseMessage>
public function SetAccessControlListsAsync(
securityNamespaceId : Guid,
accessControlLists : IEnumerable<AccessControlList>,
userState : Object
) : Task<HttpResponseMessage>
Parameters
- securityNamespaceId
Type: System.Guid
- accessControlLists
Type: System.Collections.Generic.IEnumerable<AccessControlList>
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
.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.