GroupsExtensions.AddUserAsAdminAsync(IGroups, String, GroupUserAccessRight, CancellationToken) 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 static System.Threading.Tasks.Task<object> AddUserAsAdminAsync (this Microsoft.PowerBI.Api.V2.IGroups operations, string groupId, Microsoft.PowerBI.Api.V2.Models.GroupUserAccessRight userDetails, System.Threading.CancellationToken cancellationToken = default);
static member AddUserAsAdminAsync : Microsoft.PowerBI.Api.V2.IGroups * string * Microsoft.PowerBI.Api.V2.Models.GroupUserAccessRight * System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
<Extension()>
Public Function AddUserAsAdminAsync (operations As IGroups, groupId As String, userDetails As GroupUserAccessRight, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Object)
Parameters
- operations
- IGroups
- groupId
- System.String
- userDetails
- GroupUserAccessRight
- cancellationToken
- System.Threading.CancellationToken
Returns
- System.Threading.Tasks.Task<System.Object>