/// <summary>
 /// Deletes the specified user permissions from the specified workspace.
 /// </summary>
 /// <remarks>
 /// &lt;br/&gt;**Required scope**: Workspace.ReadWrite.All&lt;br/&gt;To set the
 /// permissions scope, see [Register an
 /// app](https://docs.microsoft.com/power-bi/developer/register-app).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='groupId'>
 /// The workspace id
 /// </param>
 /// <param name='user'>
 /// The email address of the user or the service principal object id to delete
 /// </param>
 public static void DeleteUserInGroup(this IGroupsOperations operations, System.Guid groupId, string user)
 {
     operations.DeleteUserInGroupAsync(groupId, user).GetAwaiter().GetResult();
 }