/// <summary> /// Returns a list of users that have access to the specified workspace. /// </summary> /// <remarks> /// <br/>**Required scope**: Workspace.Read.All or /// Workspace.ReadWrite.All<br/>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> public static GroupUsers GetGroupUsers(this IGroupsOperations operations, System.Guid groupId) { return(operations.GetGroupUsersAsync(groupId).GetAwaiter().GetResult()); }