IGroups.AddGroupUserWithHttpMessagesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<object>> AddGroupUserWithHttpMessagesAsync (string groupId, Microsoft.PowerBI.Api.V2.Models.GroupUserAccessRight userDetails, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddGroupUserWithHttpMessagesAsync : string * Microsoft.PowerBI.Api.V2.Models.GroupUserAccessRight * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<obj>>
Public Function AddGroupUserWithHttpMessagesAsync (groupId As String, userDetails As GroupUserAccessRight, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Object))
Parameters
- groupId
- System.String
- userDetails
- GroupUserAccessRight
- customHeaders
- System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>
- cancellationToken
- System.Threading.CancellationToken
Returns
- System.Threading.Tasks.Task<HttpOperationResponse<System.Object>>