Delen via


GroupsOperationsExtensions.AddUserAsAdminAsync Method

Definition

public static System.Threading.Tasks.Task AddUserAsAdminAsync (this Microsoft.PowerBI.Api.IGroupsOperations operations, Guid groupId, Microsoft.PowerBI.Api.Models.GroupUser userDetails, System.Threading.CancellationToken cancellationToken = default);
static member AddUserAsAdminAsync : Microsoft.PowerBI.Api.IGroupsOperations * Guid * Microsoft.PowerBI.Api.Models.GroupUser * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddUserAsAdminAsync (operations As IGroupsOperations, groupId As Guid, userDetails As GroupUser, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IGroupsOperations
groupId
Guid
userDetails
GroupUser
cancellationToken
CancellationToken

Returns

Applies to