/// <summary> /// Gets a collection of object IDs of groups of which the specified group is a /// member. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='objectId'> /// The object ID of the group for which to get group membership. /// </param> /// <param name='parameters'> /// Group filtering parameters. /// </param> public static IEnumerable <string> GetMemberGroups(this IGroupsOperations operations, string objectId, GroupGetMemberGroupsParameters parameters) { return(operations.GetMemberGroupsAsync(objectId, parameters).GetAwaiter().GetResult()); }